aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/bsdtar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/bsdtar/Makefile')
-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