aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2004-04-14 22:34:59 +0800
committerbland <bland@FreeBSD.org>2004-04-14 22:34:59 +0800
commita5d40e2b0bb3f9f1d07f16ccc20ecded77b38bef (patch)
tree43030edec2f0f0ace84b46456e7eda7daf129f26
parent3566b644eb25d87064acafad289a3d6b7731b1d9 (diff)
downloadfreebsd-ports-gnome-a5d40e2b0bb3f9f1d07f16ccc20ecded77b38bef.tar.gz
freebsd-ports-gnome-a5d40e2b0bb3f9f1d07f16ccc20ecded77b38bef.tar.zst
freebsd-ports-gnome-a5d40e2b0bb3f9f1d07f16ccc20ecded77b38bef.zip
Fix build with GTK 2.4
-rw-r--r--ftp/downloader/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftp/downloader/Makefile b/ftp/downloader/Makefile
index ca7ce0b18dc5..0e470cf362c8 100644
--- a/ftp/downloader/Makefile
+++ b/ftp/downloader/Makefile
@@ -35,7 +35,8 @@ DOCSDIR= ${PREFIX}/share/doc/d4x
post-patch:
@${REINPLACE_CMD} -e 's| $$OPTFLAGS||g ; \
s|OS_CXXFLAGS="-pthread"|OS_CXXFLAGS="${PTHREAD_CFLAGS}"|g ; \
- s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ s|-pthread|${PTHREAD_LIBS}|g ; \
+ s|#define GTK_DISABLE_DEPRECATED||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's| DOC||g ; \
s| share||g' ${WRKSRC}/Makefile.in