diff options
author | pgj <pgj@FreeBSD.org> | 2009-11-29 07:31:25 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2009-11-29 07:31:25 +0800 |
commit | ffe8b7d08d9a26f756a98fa045417f10bed9fb20 (patch) | |
tree | eac1b4417d3761aba40a2e25a2ee4f3941d3eea1 /x11 | |
parent | e9ae0cc962d472d59f532cef4ccaf2bddea84152 (diff) | |
download | freebsd-ports-gnome-ffe8b7d08d9a26f756a98fa045417f10bed9fb20.tar.gz freebsd-ports-gnome-ffe8b7d08d9a26f756a98fa045417f10bed9fb20.tar.zst freebsd-ports-gnome-ffe8b7d08d9a26f756a98fa045417f10bed9fb20.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 \ |