Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2002 02:08:06 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tilman@arved.de
Subject:   ports/42570: Fix build after GNOMENG mass commit: audio/soundtracker
Message-ID:  <200209090008.g89086Cv043979@sauna.arved.de>

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

>Number:         42570
>Category:       ports
>Synopsis:       Fix build after GNOMENG mass commit: audio/soundtracker
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 08 17:10:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
BSD Usergroup Austria
>Environment:
System: FreeBSD sauna.arved.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 7 20:02:41 CEST 2002 tilman@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386


	
>Description:
	USE_REINPLACE
	gtk12 is always needed. gnomelibs if WITH_GNOME
	Switch to gnomenhack gnomeprefix 
	
>How-To-Repeat:
	
>Fix:

	

--- soundtracker.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/soundtracker/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	31 Aug 2002 00:13:18 -0000	1.12
+++ Makefile	9 Sep 2002 00:03:48 -0000
@@ -14,6 +14,8 @@
 
 USE_X_PREFIX=	yes
 USE_GNOMENG=	yes
+USE_GNOME=	gtk12
+USE_REINPLACE=	yes
 WANT_GNOME=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
@@ -22,18 +24,15 @@
 .include <bsd.port.pre.mk>
 
 .if ${HAVE_GNOME:Mgnomelibs}!=""
-USE_GNOME=	gtk12 esound
+USE_GNOME+=	gnomelibs esound gnomeprefix gnomehack
 CONFIGURE_ARGS+=--enable-gnome
 PKGNAMESUFFIX=	-gnome
 .else
 CONFIGURE_ARGS+=--disable-gnome
 .endif
 
-pre-patch:
-	@${PERL} -pi -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
+post-patch:
+	@${REINPLACE_CMD} -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \
 		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
-		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
-		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
 
 .include <bsd.port.post.mk>
--- soundtracker.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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