diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-09 04:47:35 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-09 04:47:35 +0000 |
commit | 2c58f7ec9be08adcd3c8fa79673ea97ba5b9ecf2 (patch) | |
tree | 434ec4978fcd5f54bc2f18ded1c8655c753e45be /net-im/gicq | |
parent | Fix build on -CURRENT (s/malloc.h/stdlib.h). (diff) |
Fix things after recent GNOMENG commit.
Submitted by: bento
Notes
Notes:
svn path=/head/; revision=65891
Diffstat (limited to 'net-im/gicq')
-rw-r--r-- | net-im/gicq/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/net-im/gicq/Makefile b/net-im/gicq/Makefile index c2cb375c46c2..60eeb8113eda 100644 --- a/net-im/gicq/Makefile +++ b/net-im/gicq/Makefile @@ -19,26 +19,25 @@ LIB_DEPENDS= icq.0:${PORTSDIR}/net/libicq USE_X_PREFIX= yes GNU_CONFIGURE= yes USE_GNOMENG= yes +USE_GNOME= gtk12 WANT_GNOME= yes +USE_REINPLACE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" .include <bsd.port.pre.mk> -.if ${HAVE_GNOME:Mgtk12}!="" -USE_GNOME+= gtk12 -PKGNAMESUFFIX= -gtk +.if ${HAVE_GNOME:Mgnomelibs}!="" +USE_GNOME+= gnomeprefix gnomehack gnomelibs +PKGNAMESUFFIX= -gnome .else CONFIGURE_ARGS+=--without-gnome .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 ; \ s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|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> |