diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2010-05-22 22:41:50 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2010-05-22 22:41:50 +0000 |
commit | f1905422ee6b86d1afc28896fc9c0e4de3baf608 (patch) | |
tree | 6189ae4ab63cdc0704c29f18be3e2b350c8349a3 /x11/hs-X11/Makefile | |
parent | 7d1d3e059567d7924496edc21ddfbaf7d920f989 (diff) |
- Fix OPTIONS support for Cabal ports by introducing
bsd.cabal.options.mk
- Fix ports broken with non-default options
Triggered by: Yuri Pankov <yuri.pankov@gmail.com>
Notes
Notes:
svn path=/head/; revision=254867
Diffstat (limited to 'x11/hs-X11/Makefile')
-rw-r--r-- | x11/hs-X11/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/x11/hs-X11/Makefile b/x11/hs-X11/Makefile index 56dacff9c3d2..35c69bbc1549 100644 --- a/x11/hs-X11/Makefile +++ b/x11/hs-X11/Makefile @@ -21,14 +21,15 @@ DISTNAME= X11-${PORTVERSION} OPTIONS= XINERAMA "Build with Xinerama support" off -.include <bsd.port.pre.mk> +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk" +.include <bsd.port.options.mk> .if defined(WITH_XINERAMA) USE_XORG+= xinerama -CONFIGURE_ARGS+= --configure-option=--with-xinerama +CONFIGURE_ARGS+= --configure-option="--with-xinerama" .else -CONFIGURE_ARGS+= --configure-option=--without-xinerama +CONFIGURE_ARGS+= --configure-option="--without-xinerama" .endif .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" -.include <bsd.port.post.mk> +.include <bsd.port.mk> |