pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libgetopt Fix build on IRIX 5 whichhas a nonstan...
details: https://anonhg.NetBSD.org/pkgsrc/rev/daf569ebaa67
branches: trunk
changeset: 485470:daf569ebaa67
user: recht <recht%pkgsrc.org@localhost>
date: Sun Dec 12 17:16:27 2004 +0000
description:
Fix build on IRIX 5 whichhas a nonstandard /usr/include/getopt.h.
patch by Georg Schwarz in PR 28597
diffstat:
devel/libgetopt/Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 1418155fd03d -r daf569ebaa67 devel/libgetopt/Makefile
--- a/devel/libgetopt/Makefile Sun Dec 12 17:11:42 2004 +0000
+++ b/devel/libgetopt/Makefile Sun Dec 12 17:16:27 2004 +0000
@@ -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 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index