aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-03-08 16:04:10 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-03-08 16:04:10 +0800
commit293b4b20649244406813c811cab80157f449e734 (patch)
tree7e4a0064fdcdc66000791a7845755050f6c92c45 /net-p2p
parent2ca12b7ec0b6410bd0f9c1668039d54a00f1c4fb (diff)
downloadfreebsd-ports-graphics-293b4b20649244406813c811cab80157f449e734.tar.gz
freebsd-ports-graphics-293b4b20649244406813c811cab80157f449e734.tar.zst
freebsd-ports-graphics-293b4b20649244406813c811cab80157f449e734.zip
- Fix build with curl 7.24.0: curl/types.h was removed (unused since Apr 2004)
Submitted by: sunpoet (myself) Tested by: exp-run by linimon Approved by: linimon (with portmgr hat)
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gtorrentviewer/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-p2p/gtorrentviewer/Makefile b/net-p2p/gtorrentviewer/Makefile
index 8b8c2cf5941..216ebf4b281 100644
--- a/net-p2p/gtorrentviewer/Makefile
+++ b/net-p2p/gtorrentviewer/Makefile
@@ -29,6 +29,9 @@ CONFIGURE_ARGS= --with-pixmapsdir=${PREFIX}/share/pixmaps \
MAN1= gtorrentviewer.1
DOCS= AUTHORS COPYING ChangeLog README
+post-patch:
+ @${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/main.c
+
.ifndef (NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}