diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2009-11-29 07:31:25 +0800 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2009-11-29 07:31:25 +0800 |
commit | b4a7cc1a11db555cb6829f302ae187e266fb4914 (patch) | |
tree | 2a01642087a279c742de4d5b16c34552ebb36673 /x11 | |
parent | 7ed9f574e5e4b96a945f90d1b273d4430abb2c61 (diff) | |
download | freebsd-ports-gnome-b4a7cc1a11db555cb6829f302ae187e266fb4914.tar.gz freebsd-ports-gnome-b4a7cc1a11db555cb6829f302ae187e266fb4914.tar.zst freebsd-ports-gnome-b4a7cc1a11db555cb6829f302ae187e266fb4914.zip |
- Allow to force off Xinerama support
PR: ports/140807
Submitted by: Pavel Plesov <pavel.plesov (at) gmail.com>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/hs-X11/Makefile | 6 | ||||
-rw-r--r-- | x11/hs-x11-ghc/Makefile | 6 |
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 \ |