aboutsummaryrefslogtreecommitdiff
path: root/net/libnet10
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-11 20:08:35 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-06-11 20:08:35 +0000
commitfe8fe8c5526fbc54b0f30f2e7cf1afff7b96f97e (patch)
tree9a442669769fccdf394bad58f319c5d04b65a92f /net/libnet10
parenta3249cb3a8751999f6fc0015ca69c8b986536bf9 (diff)
downloadports-fe8fe8c5526fbc54b0f30f2e7cf1afff7b96f97e.tar.gz
ports-fe8fe8c5526fbc54b0f30f2e7cf1afff7b96f97e.zip
Notes
Diffstat (limited to 'net/libnet10')
-rw-r--r--net/libnet10/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/libnet10/Makefile b/net/libnet10/Makefile
index cc82ce5ae141..a60045f0ce88 100644
--- a/net/libnet10/Makefile
+++ b/net/libnet10/Makefile
@@ -23,6 +23,13 @@ WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
MAN3= libnet${PKGNAMESUFFIX}.3
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+post-patch:
+ find ${WRKDIR} -name '*.[hc]' | xargs ${REINPLACE_CMD} -e 's/long/int/g'
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/libnet.3 \
${MANPREFIX}/man/man3/libnet${PKGNAMESUFFIX}.3
@@ -39,4 +46,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>