From d866d3b130c388e97f62be4b777a0e59042b957e Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 10 Aug 1999 10:30:59 +0000 Subject: 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. --- graphics/clanlib/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'graphics/clanlib') 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" -- cgit v1.2.3