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.
This commit is contained in:
Maxim Sobolev 2002-02-14 01:39:12 +00:00
parent 4bad7f6ed0
commit a99ed6698a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54681

View File

@ -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