aboutsummaryrefslogtreecommitdiffstats
path: root/www/openvrml
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-01-13 06:11:18 +0800
committermarcus <marcus@FreeBSD.org>2009-01-13 06:11:18 +0800
commitc91044eb7b7db3386eb0555bdd0485d90dd5b69f (patch)
tree6bf627714a6511b58b8d22e36b884fd18a80c843 /www/openvrml
parent045bc4044ca95c6181750a6ed015f5db997c44df (diff)
downloadfreebsd-ports-gnome-c91044eb7b7db3386eb0555bdd0485d90dd5b69f.tar.gz
freebsd-ports-gnome-c91044eb7b7db3386eb0555bdd0485d90dd5b69f.tar.zst
freebsd-ports-gnome-c91044eb7b7db3386eb0555bdd0485d90dd5b69f.zip
Allow this port to build with GTK+ deprecation.
Diffstat (limited to 'www/openvrml')
-rw-r--r--www/openvrml/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/openvrml/Makefile b/www/openvrml/Makefile
index a8fc43b06a25..97d500cf576f 100644
--- a/www/openvrml/Makefile
+++ b/www/openvrml/Makefile
@@ -76,6 +76,8 @@ pre-configure:
${REINPLACE_CMD} -e \
's|-rpath $$(libdir)|-rpath $$(libdir) -rpath ${JAVA_HOME}/jre/lib/${ARCH}/client|' \
${WRKSRC}/src/Makefile.in
+ ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
+ 's|-DG[[:alpha:]]*_DISABLE_DEPRECATED||g'
.for cfg in ${LIBTOOLFILES}
${REINPLACE_CMD} -e \
"/hardcode_libdir_flag_spec/s|\(=.\)\(.*\)\(\$$libdir\)|& \2${JAVA_HOME}/jre/lib/${ARCH}/client|" \