summaryrefslogtreecommitdiff
path: root/archivers/dar
diff options
context:
space:
mode:
authorrillig <rillig>2005-12-05 20:20:10 +0000
committerrillig <rillig>2005-12-05 20:20:10 +0000
commit162170556ff7eb5cac29fcd16fad5ff156cc6456 (patch)
treeddd709d96b5879d5f5eb8e83a5224966fa63f560 /archivers/dar
parent9cdb16d89c8d7a96d82d26e15277166d15207a92 (diff)
downloadpkgsrc-162170556ff7eb5cac29fcd16fad5ff156cc6456.tar.gz
SunPro on Solaris needs -D__EXTENSIONS__ for getopt().
Diffstat (limited to 'archivers/dar')
-rw-r--r--archivers/dar/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/archivers/dar/Makefile b/archivers/dar/Makefile
index 33cd79fedfd..4f59337fe17 100644
--- a/archivers/dar/Makefile
+++ b/archivers/dar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2005/09/07 18:17:22 reed Exp $
+# $NetBSD: Makefile,v 1.17 2005/12/05 20:20:10 rillig Exp $
DISTNAME= dar-2.2.2
PKGREVISION= 1
@@ -22,6 +22,9 @@ CONFIGURE_ARGS+= --disable-dar-static
CONFIGURE_ARGS+= --enable-examples
CONFIGURE_ARGS+= --disable-upx
+# Needed for getopt() with SunPro
+CPPFLAGS.SunOS+= -D__EXTENSIONS__
+
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"