aboutsummaryrefslogtreecommitdiff
path: root/devel/ORBit2/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-02-14 01:39:12 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-02-14 01:39:12 +0000
commita99ed6698a9e5b9030b22e85e66a0b0de63c8f17 (patch)
treee3f4ba530efcf988edda86a0cfeb10384eee4bb5 /devel/ORBit2/Makefile
parent4bad7f6ed09a5ba35cabc35ffca7563502d608d9 (diff)
downloadports-a99ed6698a9e5b9030b22e85e66a0b0de63c8f17.tar.gz
ports-a99ed6698a9e5b9030b22e85e66a0b0de63c8f17.zip
Apply s|LINC_THREADSAFE|G_THREADS_ENABLED|g regex, because some time ago
LINC_THREADSAFE in linc was replaced with G_THREADS_ENABLED. Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=54681
Diffstat (limited to 'devel/ORBit2/Makefile')
-rw-r--r--devel/ORBit2/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile
index 6b2926eabf13..43989ea458de 100644
--- a/devel/ORBit2/Makefile
+++ b/devel/ORBit2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ORBit2
PORTVERSION= 2.3.103
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-alpha2
@@ -31,6 +32,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+pre-patch:
+ @find ${WRKSRC} -type f | xargs ${GREP} -l LINC_THREADSAFE | \
+ xargs ${PERL} -pi -e 's|LINC_THREADSAFE|G_THREADS_ENABLED|g'
+
post-install:
@${ECHO_CMD} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbit2rc.default
@${ECHO_CMD} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbit2rc.default