From 162170556ff7eb5cac29fcd16fad5ff156cc6456 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 5 Dec 2005 20:20:10 +0000 Subject: SunPro on Solaris needs -D__EXTENSIONS__ for getopt(). --- archivers/dar/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'archivers') 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" -- cgit v1.2.3