diff options
author | tnn <tnn@pkgsrc.org> | 2010-01-08 22:45:58 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2010-01-08 22:45:58 +0000 |
commit | d2d62d474d5b3de239e0dc5539b7c2c6cdb53662 (patch) | |
tree | 0b3c3006941259c9958d166132116144e86f1d73 | |
parent | 6342f5e76aa115c801aa534716107d3cc6265cdf (diff) | |
download | pkgsrc-d2d62d474d5b3de239e0dc5539b7c2c6cdb53662.tar.gz |
Fix build on Tru64. Closes PR pkg/42538.
-rw-r--r-- | devel/libgetopt/Makefile | 5 |
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 |