aboutsummaryrefslogtreecommitdiffstats
path: root/net/libnet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/libnet/Makefile')
-rw-r--r--net/libnet/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/libnet/Makefile b/net/libnet/Makefile
index 55320a676f85..d100afc9ffb0 100644
--- a/net/libnet/Makefile
+++ b/net/libnet/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libnet
PORTVERSION= 1.1.6
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= SF/libnet-dev
@@ -46,4 +46,10 @@ post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/sample/*.c ${STAGEDIR}${EXAMPLESDIR}/
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure
+.endif
+
+.include <bsd.port.post.mk>