ports/62034: [PATCH] x11-wm/rox-pager: respect CFLAGS

Ulrich Spoerlein q at uni.de
Wed Jan 28 16:20:21 UTC 2004


>Number:         62034
>Category:       ports
>Synopsis:       [PATCH] x11-wm/rox-pager: respect CFLAGS
>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:   Wed Jan 28 08:20:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD roadrunner 5.2-RELEASE FreeBSD 5.2-RELEASE #4: Mon Jan
26 19:30:28 CET 2004
>Description:
Introduce a _real_ configure step (that is: let the ports-magic do the
configuring and building, not the ports shell script). This also makes
the port respect CFLAGS et al.

I'm not sure if PORTREVISION should be bumped...

Port maintainer (olgeni at FreeBSD.org) is cc'd.
>How-To-Repeat:
Run 'make configure' nothing happens.
Run 'make build' and the port will run autoconf & configure first. And
always with -O2.
>Fix:

--- rox-pager-1.0.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-wm/rox-pager/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile	24 Jan 2004 16:16:18 -0000	1.1
+++ Makefile	28 Jan 2004 16:08:05 -0000
@@ -17,6 +17,8 @@
 COMMENT=		Pager for the ROX desktop
 
 USE_GNOME=		gtk20 pkgconfig libxml2 libwnck
+USE_AUTOCONF=		yes
+HAS_CONFIGURE=		yes
 
 .include <bsd.port.pre.mk>
 
@@ -28,8 +30,10 @@
 
 PLIST_SUB=	BINARIES="${BINARIES}"
 
-do-build:
-	@cd ${WRKSRC} && Pager/AppRun --compile
+CONFIGURE_ARGS=		--enable-rox --with-platform=${BINARIES}
+CONFIGURE_WRKSRC=	${WRKSRC}/Pager/src
+BUILD_WRKSRC=		${CONFIGURE_WRKSRC}
+ALL_TARGET=
 
 do-install:
 	@${MKDIR} ${PREFIX}/apps/Pager
--- rox-pager-1.0.0.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list