diff options
author | recht <recht@pkgsrc.org> | 2004-12-12 17:16:27 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-12-12 17:16:27 +0000 |
commit | 9a67215dab1afefa13a513ed94cba45fd8d2fd9b (patch) | |
tree | 6bf3ad7878cf489e8b4d75380f1e0946472f4e7b /devel | |
parent | c99ba0156c18aae098c2b33b37cb12053dbecd8a (diff) | |
download | pkgsrc-9a67215dab1afefa13a513ed94cba45fd8d2fd9b.tar.gz |
Fix build on IRIX 5 whichhas a nonstandard /usr/include/getopt.h.
patch by Georg Schwarz in PR 28597
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libgetopt/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/libgetopt/Makefile b/devel/libgetopt/Makefile index c9194e1dcc5..d34e5ff3060 100644 --- a/devel/libgetopt/Makefile +++ b/devel/libgetopt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/01/20 12:13:28 agc Exp $ +# $NetBSD: Makefile,v 1.15 2004/12/12 17:16:27 recht Exp $ # DISTNAME= libgetopt-${VERS} @@ -15,7 +15,9 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL WRKSRC= ${WRKDIR}/libgetopt -.if exists(/usr/include/getopt.h) +.include "../../mk/bsd.prefs.mk" + +.if exists(/usr/include/getopt.h) && empty(LOWER_OPSYS:Mirix5*) PKG_SKIP_REASON= "${PKGNAME} is part of your ${OPSYS} distribution" .endif @@ -26,8 +28,6 @@ MANCOMPRESSED_IF_MANZ= yes MAKE_FLAGS+= LIBDIR=${PREFIX}/lib MANDIR=${PREFIX}/man MAKE_FLAGS+= MKLINT=no -.include "../../mk/bsd.prefs.mk" - .if ${OPSYS} == "SunOS" MAKEFLAGS+= NETBSD_COMPATIBLE=YES CFLAGS+= -DREPLACE_GETOPT |