aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-03-08 16:04:10 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-03-08 16:04:10 +0800
commitc401538bead79fdc9e59a04467e35222b7e7b544 (patch)
tree84106bbfa516aa641ebbf8f5081adecccd0b4aa1 /net-p2p
parent3ce0866a9c937f93aedead3fd9faca8580b92a2c (diff)
downloadfreebsd-ports-gnome-c401538bead79fdc9e59a04467e35222b7e7b544.tar.gz
freebsd-ports-gnome-c401538bead79fdc9e59a04467e35222b7e7b544.tar.zst
freebsd-ports-gnome-c401538bead79fdc9e59a04467e35222b7e7b544.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 8b8c2cf59416..216ebf4b2819 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}