aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-04-19 04:44:58 +0800
committerglewis <glewis@FreeBSD.org>2005-04-19 04:44:58 +0800
commit7edebf8b124632ac4259a9c50bf51d5dd1ae5387 (patch)
tree2c7fbb597b50a560345fc8557174085873e29663
parent27e317df60c0f519f0fe68886c1990216fd8039e (diff)
downloadfreebsd-ports-gnome-7edebf8b124632ac4259a9c50bf51d5dd1ae5387.tar.gz
freebsd-ports-gnome-7edebf8b124632ac4259a9c50bf51d5dd1ae5387.tar.zst
freebsd-ports-gnome-7edebf8b124632ac4259a9c50bf51d5dd1ae5387.zip
. Add long option support on FreeBSD 4.x and early FreeBSD 5.x by setting
USE_GETOPT_LONG. This achieves the submitters goal, but via a different method. Submitted by: John E Hein <jhein@timing.com>
-rw-r--r--archivers/bsdtar/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/archivers/bsdtar/Makefile b/archivers/bsdtar/Makefile
index 2f4291c8f084..f6c07561de5e 100644
--- a/archivers/bsdtar/Makefile
+++ b/archivers/bsdtar/Makefile
@@ -28,6 +28,10 @@ MAN1= bsdtar.1
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500040
+USE_GETOPT_LONG=yes
+.endif
+
.if ${OSVERSION} >= 502111
IGNORE= is in the base system
.endif