diff options
-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 |