summaryrefslogtreecommitdiff
path: root/misc/getopt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/getopt/Makefile')
-rw-r--r--misc/getopt/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile
index 364220576706..a5fdc59d8af2 100644
--- a/misc/getopt/Makefile
+++ b/misc/getopt/Makefile
@@ -1,9 +1,8 @@
PORTNAME= getopt
-PORTVERSION= 1.1.6
-PORTREVISION= 2
+PORTVERSION= 2.41.1
CATEGORIES= misc
-MASTER_SITES= KERNEL_ORG/linux/utils/util-linux/v${UTIL_LINUX_PORTVERSION:R}/
-DISTNAME= util-linux-${UTIL_LINUX_PORTVERSION}
+MASTER_SITES= KERNEL_ORG/linux/utils/util-linux/v${PORTVERSION:R}/
+DISTNAME= util-linux-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Replacement for getopt(1) that supports GNU-style long options
@@ -20,13 +19,13 @@ CONFIGURE_ARGS= --disable-asciidoc \
--disable-nls \
--disable-makeinstall-chown \
--disable-makeinstall-setuid \
+ --disable-year2038 \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
GNU_CONFIGURE= yes
SHEBANG_FILES= misc-utils/getopt-example.bash
-UTIL_LINUX_PORTVERSION= 2.39.4
-
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= EXAMPLES
+OPTIONS_SUB= yes
.include <bsd.port.mk>