summaryrefslogtreecommitdiff
path: root/devel/libgetopt
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2010-01-08 22:45:58 +0000
committertnn <tnn@pkgsrc.org>2010-01-08 22:45:58 +0000
commitd2d62d474d5b3de239e0dc5539b7c2c6cdb53662 (patch)
tree0b3c3006941259c9958d166132116144e86f1d73 /devel/libgetopt
parent6342f5e76aa115c801aa534716107d3cc6265cdf (diff)
downloadpkgsrc-d2d62d474d5b3de239e0dc5539b7c2c6cdb53662.tar.gz
Fix build on Tru64. Closes PR pkg/42538.
Diffstat (limited to 'devel/libgetopt')
-rw-r--r--devel/libgetopt/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/libgetopt/Makefile b/devel/libgetopt/Makefile
index 64ea2164476..03cf2dad955 100644
--- a/devel/libgetopt/Makefile
+++ b/devel/libgetopt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2009/04/09 00:48:07 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2010/01/08 22:45:58 tnn Exp $
#
DISTNAME= libgetopt-1.4.4
@@ -16,9 +16,10 @@ WRKSRC= ${WRKDIR}/libgetopt
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX" || ${OPSYS} == "HPUX"
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX" || ${OPSYS} == "HPUX" || ${OPSYS} == "OSF1"
CFLAGS+= -DREPLACE_GETOPT
.endif
+CFLAGS.OSF1+= -I. # stdio.h includes <getopt.h>, make sure it's our copy
INSTALLATION_DIRS= include lib ${PKGMANDIR}/man3