aboutsummaryrefslogtreecommitdiff
path: root/net/netmask/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netmask/Makefile')
-rw-r--r--net/netmask/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/net/netmask/Makefile b/net/netmask/Makefile
index 928a39217f46..dc317c750ae9 100644
--- a/net/netmask/Makefile
+++ b/net/netmask/Makefile
@@ -5,7 +5,7 @@
PORTNAME= netmask
PORTVERSION= 2.3.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= dists/potato/main/source/net
@@ -15,17 +15,10 @@ MAINTAINER= mike@urgle.com
COMMENT= Tool for generating terse netmasks in several common formats
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
+USE_GETOPT_LONG=yes
USE_AUTOMAKE= yes
USE_GMAKE= yes
MAN1= netmask.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500041
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>