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/gicq/Makefile | |
parent | 4d606c20340331d65486b08ae2330522031028ec (diff) | |
download | ports-2c58f7ec9be08adcd3c8fa79673ea97ba5b9ecf2.tar.gz ports-2c58f7ec9be08adcd3c8fa79673ea97ba5b9ecf2.zip |
Notes
Diffstat (limited to 'net/gicq/Makefile')
-rw-r--r-- | net/gicq/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/net/gicq/Makefile b/net/gicq/Makefile index c2cb375c46c2..60eeb8113eda 100644 --- a/net/gicq/Makefile +++ b/net/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> |