aboutsummaryrefslogtreecommitdiffstats
path: root/net/netmask
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
committersf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
commit971087c2b4d6b0b917e3fac3ac1334b04f7c9907 (patch)
tree7181a8316bbb1b7be4386d9173b3c6ace07025da /net/netmask
parent0cc85c09b55a7d94ca1d7c16c8eedae091f2840c (diff)
downloadfreebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.gz
freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.zst
freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.zip
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Diffstat (limited to 'net/netmask')
-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>