5393242c73
Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
21 lines
548 B
Makefile
21 lines
548 B
Makefile
# $NetBSD: options.mk,v 1.2 2018/07/04 13:40:40 jperkin Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.xmonad-contrib
|
|
PKG_SUPPORTED_OPTIONS= xft2
|
|
PKG_SUGGESTED_OPTIONS= xft2
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mxft2)
|
|
.include "../../x11/hs-X11-xft/buildlink3.mk"
|
|
.else
|
|
SUBST_CLASSES+= 1
|
|
SUBST_STAGE.1= pre-patch
|
|
SUBST_FILES.1= xmonad-contrib.cabal
|
|
SUBST_SED.1= -e "s|render text|render text+ default: False|"
|
|
|
|
SUBST_CLASSES+= 2
|
|
SUBST_STAGE.2= pre-configure
|
|
SUBST_FILES.2= xmonad-contrib.cabal
|
|
SUBST_FILTER_CMD.2= ${TR} '+' \\n
|
|
.endif
|