diff options
author | marcus <marcus@FreeBSD.org> | 2002-09-09 09:21:47 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-09-09 09:21:47 +0800 |
commit | 06409c1efbc0f7db37c19ca3fa9fd8da3f59b371 (patch) | |
tree | 9100d72d6cb7618393f307af7f07ca7aad90641e /audio/soundtracker | |
parent | 0c486c47ddbae87c660c5d896b96ca17d467b166 (diff) | |
download | freebsd-ports-gnome-06409c1efbc0f7db37c19ca3fa9fd8da3f59b371.tar.gz freebsd-ports-gnome-06409c1efbc0f7db37c19ca3fa9fd8da3f59b371.tar.zst freebsd-ports-gnome-06409c1efbc0f7db37c19ca3fa9fd8da3f59b371.zip |
Fix things after the GNOMENG commit. Also, implemement REINPLACE_CMD.
PR: 42570
Submitted by: Tilman Linneweh <tilman@arved.de>
Diffstat (limited to 'audio/soundtracker')
-rw-r--r-- | audio/soundtracker/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile index 73dfd15439fd..58eac98eff15 100644 --- a/audio/soundtracker/Makefile +++ b/audio/soundtracker/Makefile @@ -15,6 +15,8 @@ MAINTAINER= kzentner@u.washington.edu USE_X_PREFIX= yes USE_GNOMENG= yes WANT_GNOME= yes +USE_GNOME= gtk12 +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" @@ -22,18 +24,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ .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> |