ports/106265: [PATCH]: graphics/grx: Fix X11BASE

Frank J. Laszlo laszlof at FreeBSD.org
Sun Dec 3 15:50:22 UTC 2006


>Number:         106265
>Category:       ports
>Synopsis:       [PATCH]: graphics/grx: Fix 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:   Sun Dec 03 15:50:12 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 at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
	Really fix X11BASE.

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

	



--- grx-2.4.6-X11BASE.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/grx/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	24 Nov 2006 18:31:03 -0000	1.6
+++ Makefile	3 Dec 2006 15:41:06 -0000
@@ -18,7 +18,8 @@
 USE_LDCONFIG=	yes
 USE_XLIB=	yes
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix=${PREFIX} --with-fontpath=${DATADIR}/fonts
+CONFIGURE_ARGS=	--prefix=${PREFIX} --with-fontpath=${DATADIR}/fonts \
+		--with-x11-base=${X11BASE}
 CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
 ALL_TARGET=	libs
@@ -103,8 +104,7 @@
 	@${REINPLACE_CMD} -Ee \
 		's|^(CC[[:blank:]]*=).*|\1 ${CC}|; \
 		 s|^(CCOPT =)|\1 ${CPPFLAGS} ${CFLAGS}|; \
-		 s|^(LDOPT =)|\1 ${LDFLAGS}|; \
-		 s|/usr/X11R6|${X11BASE}|' \
+		 s|^(LDOPT =)|\1 ${LDFLAGS}|;' \
 		${WRKSRC}/makedefs.grx
 	@${REINPLACE_CMD} -e 's/gcc/${CC}/' ${WRKSRC}/src/makefile.[lx]*
 
--- grx-2.4.6-X11BASE.diff ends here ---

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



More information about the freebsd-ports-bugs mailing list