summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-12-05 20:20:10 +0000
committerrillig <rillig@pkgsrc.org>2005-12-05 20:20:10 +0000
commit2bf6b6f4819297c3722a0bdf916e99171de01cf5 (patch)
treeddd709d96b5879d5f5eb8e83a5224966fa63f560 /archivers
parenta29baccb9b8f30a529dcafcc808474f357dab311 (diff)
downloadpkgsrc-2bf6b6f4819297c3722a0bdf916e99171de01cf5.tar.gz
SunPro on Solaris needs -D__EXTENSIONS__ for getopt().
Diffstat (limited to 'archivers')
-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"