diff options
author | agc <agc@pkgsrc.org> | 1999-08-10 10:30:59 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-08-10 10:30:59 +0000 |
commit | 8d435e9b5959ff2a6da6fefe239526f87035b293 (patch) | |
tree | 268dcc5fa2d2513eeec6b47614818f94c98c599c /graphics/clanlib | |
parent | ded828d2d36c85e97e81d52999b9fa8156487878 (diff) | |
download | pkgsrc-8d435e9b5959ff2a6da6fefe239526f87035b293.tar.gz |
Don't try to read /usr/lib/libz.a on Solaris, as it doesn't exist - check
for the operating system type before performing the check.
Diffstat (limited to 'graphics/clanlib')
-rw-r--r-- | graphics/clanlib/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/clanlib/Makefile b/graphics/clanlib/Makefile index 499e7090746..b9769358956 100644 --- a/graphics/clanlib/Makefile +++ b/graphics/clanlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/07/21 22:56:35 garbled Exp $ +# $NetBSD: Makefile,v 1.2 1999/08/10 10:30:59 agc Exp $ DISTNAME= ClanLib-0.1.15 CATEGORIES= games x11 @@ -27,9 +27,13 @@ CONFIGURE_ARGS+= --disable-asm386 \ CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"# CC='cc ${CFLAGS} ${LDFLAGS}' MAKE_ENV+= LDFLAGS="${LDFLAGS}" +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" BROKEN_LIBZ!=ar t /usr/lib/libz.a | grep -w example.o || echo "false" .if !empty(BROKEN_LIBZ:Mexample.o) BROKEN= "Update to NetBSD 1.4.1, or recompile /usr/lib/libz without example.c" .endif +.endif .include "../../mk/bsd.pkg.mk" |