Subject: pkg/13217: devel/gtexinfo little patch for zlib dependency on Solaris 8 with zoularis
To: None <gnats-bugs@gnats.netbsd.org>
From: Stoned Elipot <Stoned.Elipot@script.jussieu.fr>
List: netbsd-bugs
Date: 06/15/2001 17:20:02
>Number: 13217
>Category: pkg
>Synopsis: devel/gtexinfo little patch for zlib dependency on Solaris 8 with zoularis
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jun 15 08:18:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Stoned Elipot
>Release: pkgsrc-current
>Organization:
Paris University VII, SCRIPT
>Environment:
SunOS tzolkin 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-5_10
>Description:
The current Makefile for devel/gtexinfo introduce a dependency on
pkg zlib when used with zoularis on Solaris. Starting with Solaris 8
zlib is a part of the base system (Solaris package SUNWzlib). So
I propose the following little patch to get ride of dependency when
possible.
>How-To-Repeat:
>Fix:
Above mentioned patch:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/gtexinfo/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile 2001/02/16 14:38:29 1.23
+++ Makefile 2001/06/15 14:45:54
@@ -12,8 +12,11 @@
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "SunOS")
+SOLARIS8_VERSION= 5.8
+.if (${OS_VERSION} < ${SOLARIS8_VERSION})
DEPENDS+= zlib-1.*:../zlib
CFLAGS+= -I${PREFIX}/include # zlib.h
+.endif
.endif
GNU_CONFIGURE= yes
>Release-Note:
>Audit-Trail:
>Unformatted: