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 .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