summaryrefslogtreecommitdiffstats
path: root/net/gtk+licq/Makefile
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-05-09 09:37:08 +0000
committeralex <alex@FreeBSD.org>2001-05-09 09:37:08 +0000
commitbb5791434df4658be6b9d9ec2898e3c63d6186b6 (patch)
tree4e9e0dcfc9009952b0109e970da813fb8393e642 /net/gtk+licq/Makefile
parenta5cd74462f5977b6d8b353b5d6bf9c7c504a0432 (diff)
downloadFreeBSD-ports-bb5791434df4658be6b9d9ec2898e3c63d6186b6.zip
FreeBSD-ports-bb5791434df4658be6b9d9ec2898e3c63d6186b6.tar.gz
Use perl regex to set PTHREAD_CFLAGS in all Makefile.in's.
Use perl regex to acutally install GNOME helppages in proper locations. Remove files/patch-po::Makefile.in and replace with perl regex. Bump PORTREVISION due to these changes. PR: 26449 Submitted by: Jeremy Norris <ishmael27@home.com> (maintainer)
Diffstat (limited to 'net/gtk+licq/Makefile')
-rw-r--r--net/gtk+licq/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/gtk+licq/Makefile b/net/gtk+licq/Makefile
index 9cc7349..84ba3de 100644
--- a/net/gtk+licq/Makefile
+++ b/net/gtk+licq/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gtk+licq
PORTVERSION= 0.50.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://gtk.licq.org/download/
@@ -31,9 +31,17 @@ USE_GNOME= yes
CONFIGURE_ARGS= --enable-gnome
.else
CONFIGURE_ARGS= --disable-gnome
+.endif
+
post-patch:
+ @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL5} -pi -e \
+ 's|-D_REENTRANT|${PTHREAD_CFLAGS} -D_REENTRANT|g ; \
+ s|^localedir =.*|localedir = \$$(prefix)/share/locale| ; \
+ s|^gtklicq_helpdir =.*|gtklicq_helpdir = \
+ \$$(datadir)/help/gtk+licq/C|'
+.if !defined(HAVE_GNOME)
@${PERL5} -pi -e \
- 's|^SUBDIRS\ =.*|SUBDIRS\ =\ |' ${WRKSRC}/doc/Makefile.in
+ 's|^SUBDIRS =.*|SUBDIRS =|' ${WRKSRC}/doc/Makefile.in
.endif
post-configure:
OpenPOWER on IntegriCloud