aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2009-01-12 00:40:09 +0800
committermezz <mezz@FreeBSD.org>2009-01-12 00:40:09 +0800
commite6616b5896d8abf9cf4ab272d90496a37e71ab94 (patch)
treedcd2117d562f48ef2d98731435f6ea86fe69dbc7
parentfd4eeb18b80361f24d37a8f89c25b538369b0029 (diff)
downloadfreebsd-ports-gnome-e6616b5896d8abf9cf4ab272d90496a37e71ab94.tar.gz
freebsd-ports-gnome-e6616b5896d8abf9cf4ab272d90496a37e71ab94.tar.zst
freebsd-ports-gnome-e6616b5896d8abf9cf4ab272d90496a37e71ab94.zip
Fix the build with newer GTK+2.
Reported by: pointyhat via pav
-rw-r--r--audio/bmp-mac/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/bmp-mac/Makefile b/audio/bmp-mac/Makefile
index df74ff282367..305226a9a1f2 100644
--- a/audio/bmp-mac/Makefile
+++ b/audio/bmp-mac/Makefile
@@ -27,6 +27,10 @@ PLUGDIR= lib/bmp/Input
PLUGFILE= lib${PKGNAMEPREFIX}${PORTNAME}.so
PLIST_FILES= ${PLUGDIR}/${PLUGFILE}
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|-D.*_DISABLE_DEPRECATED||g'
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/${PLUGFILE} ${PREFIX}/${PLUGDIR}/