Don't allow non-pkgsrc zlib installed. Per discussion on tech-pkg.

(This makes me wonder how things work when I setup a system from solaris
 pkgs only, that were generated from pkgsrc - i doubt they have the /var/db/pkg
 information to make our system recognize them as "our" pkg... ?)
This commit is contained in:
hubertf 2001-02-03 08:07:33 +00:00
parent 0a11d404e3
commit 4c651a332a
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.35 2001/01/21 18:13:31 tron Exp $
# $NetBSD: Makefile,v 1.36 2001/02/03 08:07:34 hubertf Exp $
#
DISTNAME= cvs-1.11
@ -15,7 +15,7 @@ USE_GTEXINFO= yes
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "SunOS") && !exists(/usr/lib/libz.so)
.if (${OPSYS} == "SunOS")
DEPENDS+= zlib-*:../../devel/zlib
CFLAGS+= -I${PREFIX}/include # zlib.h
.endif

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.21 2001/02/03 06:12:36 hubertf Exp $
# $NetBSD: Makefile,v 1.22 2001/02/03 08:07:33 hubertf Exp $
#
DISTNAME= texinfo-3.12
@ -10,7 +10,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/texinfo/texinfo.html
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "SunOS") && !exists(/usr/lib/libz.so)
.if (${OPSYS} == "SunOS")
DEPENDS+= zlib-1.*:../zlib
CFLAGS+= -I${PREFIX}/include # zlib.h
.endif