diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-09 04:57:29 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-09 04:57:29 +0000 |
commit | d6999c9d3e4a15689a17f4929fc5ffcce06b17cb (patch) | |
tree | b7ced0260b499c8d2f8470607b5bce0be9391bcb /audio | |
parent | Fix things after recent GNOMENG commit. (diff) |
Fix things after the recent GNOMENG commit.
Submitted by: bento
Notes
Notes:
svn path=/head/; revision=65892
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gnapster/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/audio/gnapster/Makefile b/audio/gnapster/Makefile index 6e7ed57a3d54..34adbd8ae8cb 100644 --- a/audio/gnapster/Makefile +++ b/audio/gnapster/Makefile @@ -15,26 +15,25 @@ MAINTAINER= cpiazza@FreeBSD.org USE_GMAKE= yes USE_X_PREFIX= yes USE_GNOMENG= yes +USE_GNOME= imlib WANT_GNOME= yes USE_LIBTOOL= yes +USE_REINPLACE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" .include <bsd.port.pre.mk> -.if ${HAVE_GNOME:Mimlib}!="" -USE_GNOME= imlib +.if ${HAVE_GNOME:Mgnomelibs}!="" +USE_GNOME+= gnomehack gnomelibs CONFIGURE_ARGS+= --datadir=${PREFIX}/share -PKGNAMESUFFIX= -imlib +PKGNAMESUFFIX= -gnome .else CONFIGURE_ARGS+=--disable-gnome --disable-gdk-pixbuf .endif -pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${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> |