summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-09-09 04:47:35 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-09-09 04:47:35 +0000
commit2c58f7ec9be08adcd3c8fa79673ea97ba5b9ecf2 (patch)
tree434ec4978fcd5f54bc2f18ded1c8655c753e45be /net
parentFix 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')
-rw-r--r--net/gicq/Makefile15
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>