Date: Mon, 23 Nov 2009 10:33:16 GMT From: Pavel Plesov <pavel.plesov@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/140807: [patch] x11/hs-x11-ghc - explicit off for xinerama support Message-ID: <200911231033.nANAXGAW016589@www.freebsd.org> Resent-Message-ID: <200911231040.nANAe7ZA045138@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911231033.nANAXGAW016589>