ports/140807: [patch] x11/hs-x11-ghc - explicit off for xinerama support

Pavel Plesov pavel.plesov at gmail.com
Mon Nov 23 10:40:07 UTC 2009


>Number:         140807
>Category:       ports
>Synopsis:       [patch] x11/hs-x11-ghc - explicit off for xinerama support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 23 10:40:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Plesov
>Release:        8.0-RC1
>Organization:
>Environment:
FreeBSD 8.0-RC1 #0: Mon Nov  9 15:25:35 MSK 2009 amd64
>Description:
Allow to force off xinerama support in x11/hs-x11-ghc. Otherwise it will be enabled if xinerama headers present in the system - even if option is OFF.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile-orig	2009-11-23 13:07:12.377568646 +0300
+++ Makefile	2009-11-23 13:10:29.902611913 +0300
@@ -40,6 +40,9 @@
 
 .if defined(WITH_XINERAMA)
 USE_XORG+=	xinerama
+CONFIGURE_ARGS+=	--configure-option=--with-xinerama
+.else
+CONFIGURE_ARGS+=	--configure-option=--without-xinerama
 .endif
 
 .if defined(NOPORTDOCS)
@@ -70,7 +73,8 @@
 
 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 \


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list