aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-02-14 09:39:12 +0800
committersobomax <sobomax@FreeBSD.org>2002-02-14 09:39:12 +0800
commit743ab1ca721712c8fbda7066a332b29de8b7a987 (patch)
treeb03faf4571e4453e7c6e2ca9ce24b6ee96a0f2f8
parent75a9142e5fdb8389dda67679dfe1432bc97b0918 (diff)
downloadfreebsd-ports-gnome-743ab1ca721712c8fbda7066a332b29de8b7a987.tar.gz
freebsd-ports-gnome-743ab1ca721712c8fbda7066a332b29de8b7a987.tar.zst
freebsd-ports-gnome-743ab1ca721712c8fbda7066a332b29de8b7a987.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.
-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