Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2006 23:35:35 GMT
From:      "Frank J. Laszlo" <laszlof@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        eirikn@bluezone.no
Subject:   ports/106096: [PATCH]: x11-wm/fluxspace: Respect X11BASE
Message-ID:  <200611302335.kAUNZZwb041392@freefall.freebsd.org>
Resent-Message-ID: <200611302340.kAUNe1pO041549@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106096
>Category:       ports
>Synopsis:       [PATCH]: x11-wm/fluxspace: Respect X11BASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 30 23:40:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Frank J. Laszlo
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
	1) Respect X11BASE
	2) Pet portlint(1)

	Maintainer has been CC'd.
>How-To-Repeat:
	
>Fix:

	

--- fluxspace-0.0.3-X11BASE.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-wm/fluxspace/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	3 Jul 2005 00:02:13 -0000	1.5
+++ Makefile	30 Nov 2006 21:49:42 -0000
@@ -17,13 +17,13 @@
 BUILD_DEPENDS=	imlib2-config:${PORTSDIR}/graphics/imlib2 \
 		swig:${PORTSDIR}/devel/swig13
 
-USE_PYTHON=		yes
+USE_PYTHON=	yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=		yes
-CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
+USE_GMAKE=	yes
+USE_LDCONFIG=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 
-
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_IDESK) || exists(${X11BASE}/bin/idesk)
@@ -37,6 +37,9 @@
 	@${ECHO_CMD} "WITH_IDESK	- To install idesk"
 	@${ECHO_CMD} "WITH_ROX-FILER	- To install rox-filer"
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure
+
 post-install::
 	@${CAT} pkg-message
 
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/x11-wm/fluxspace/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	6 Oct 2003 05:47:28 -0000	1.1
+++ pkg-plist	30 Nov 2006 21:49:42 -0000
@@ -40,13 +40,13 @@
 bin/fluxspace-add-idesk-icon
 bin/fluxspace-sync-idesk-with-appdirs
 bin/rox-add-app
-share/fluxspace/examples/fluxspace.xml
-@dirrm share/fluxspace/examples
-share/fluxspace/AUTHORS
-share/fluxspace/BUGS
-share/fluxspace/ChangeLog
-share/fluxspace/COPYING
-share/fluxspace/NEWS
-share/fluxspace/README
-@dirrm share/fluxspace
+%%DATADIR%%/examples/fluxspace.xml
+@dirrm %%DATADIR%%/examples
+%%DATADIR%%/AUTHORS
+%%DATADIR%%/BUGS
+%%DATADIR%%/ChangeLog
+%%DATADIR%%/COPYING
+%%DATADIR%%/NEWS
+%%DATADIR%%/README
+@dirrm %%DATADIR%%
 @dirrm %%PYTHON_SITELIBDIR%%/fluxlet
--- fluxspace-0.0.3-X11BASE.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611302335.kAUNZZwb041392>