summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2009-11-28 23:31:25 +0000
committerGabor Pali <pgj@FreeBSD.org>2009-11-28 23:31:25 +0000
commitb4a7cc1a11db555cb6829f302ae187e266fb4914 (patch)
tree2a01642087a279c742de4d5b16c34552ebb36673 /x11
parent- Update to 1.4.9 (diff)
- Allow to force off Xinerama support
PR: ports/140807 Submitted by: Pavel Plesov <pavel.plesov (at) gmail.com>
Notes
Notes: svn path=/head/; revision=244947
Diffstat (limited to 'x11')
-rw-r--r--x11/hs-X11/Makefile6
-rw-r--r--x11/hs-x11-ghc/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/x11/hs-X11/Makefile b/x11/hs-X11/Makefile
index f1c3999c3ee3..2e7cf06b8b5e 100644
--- a/x11/hs-X11/Makefile
+++ b/x11/hs-X11/Makefile
@@ -41,6 +41,9 @@ OPTIONS= XINERAMA "Build with Xinerama support" off
.if defined(WITH_XINERAMA)
USE_XORG+= xinerama
+CONFIGURE_ARGS+= --configure-option=--with-xinerama
+.else
+CONFIGURE_ARGS+= --configure-option=--without-xinerama
.endif
.if defined(NOPORTDOCS)
@@ -71,7 +74,8 @@ post-patch:
do-configure:
cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
- && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX}
+ && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX} \
+ ${CONFIGURE_ARGS}
do-build:
cd ${WRKSRC} && ${SETUP_CMD} build \
diff --git a/x11/hs-x11-ghc/Makefile b/x11/hs-x11-ghc/Makefile
index f1c3999c3ee3..2e7cf06b8b5e 100644
--- a/x11/hs-x11-ghc/Makefile
+++ b/x11/hs-x11-ghc/Makefile
@@ -41,6 +41,9 @@ OPTIONS= XINERAMA "Build with Xinerama support" off
.if defined(WITH_XINERAMA)
USE_XORG+= xinerama
+CONFIGURE_ARGS+= --configure-option=--with-xinerama
+.else
+CONFIGURE_ARGS+= --configure-option=--without-xinerama
.endif
.if defined(NOPORTDOCS)
@@ -71,7 +74,8 @@ post-patch:
do-configure:
cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
- && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX}
+ && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX} \
+ ${CONFIGURE_ARGS}
do-build:
cd ${WRKSRC} && ${SETUP_CMD} build \