mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Allow to force off Xinerama support
PR: ports/140807 Submitted by: Pavel Plesov <pavel.plesov (at) gmail.com>
This commit is contained in:
parent
7ed9f574e5
commit
b4a7cc1a11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244947
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user