Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2004 17:11:48 +0100 (CET)
From:      Ulrich Spoerlein <q@uni.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        olgeni@FreeBSD.org
Subject:   ports/62034: [PATCH] x11-wm/rox-pager: respect CFLAGS
Message-ID:  <200401281611.i0SGBm0a007076@roadrunner.q.local>
Resent-Message-ID: <200401281620.i0SGKFP8074581@freefall.freebsd.org>

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

>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@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:



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