Subject: pkg/6338: add -Dunix to unzip pkg Makefile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@primenet.com.au>
List: netbsd-bugs
Date: 10/21/1998 07:25:05
>Number:         6338
>Category:       pkg
>Synopsis:       add -Dunix to unzip pkg Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 21 00:35:01 1998
>Last-Modified:
>Originator:     Geoff C. Wing
>Organization:
Geoff Wing   <gcw@pobox.com>            Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/
>Release:        19981020
>Environment:
System: NetBSD coral.primenet.com.au 1.3H NetBSD 1.3H (CORAL) #0: Mon Sep 28 13:25:17 EST 1998 mason@coral.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/CORAL i386


>Description:
	``warning: deprecated symbol "unix" is no longer predefined'' in
	pkgsrc/archivers/unzip
	Add -Dunix to the Makefile of the unzip pkg:
	Note that defining ``unix'' defines ``UNIX'' so -DUNIX shouldn't
	need to be there (but it won't hurt)
>How-To-Repeat:
	build unzip pkg
>Fix:

*** pkgsrc/archivers/unzip/Makefile.old	Fri Aug 21 21:18:10 1998
--- pkgsrc/archivers/unzip/Makefile	Wed Oct 21 17:17:30 1998
***************
*** 13,19 ****
  
  MAKEFILE=	unix/Makefile
  ALL_TARGET=	unzips
! MAKE_FLAGS=	CF="${CFLAGS} -I. -DBSD -DUNIX -DUSE_UNSHRINK -DUSE_ZLIB" LF2=-lz
  
  .include "../../mk/bsd.prefs.mk"
  
--- 13,19 ----
  
  MAKEFILE=	unix/Makefile
  ALL_TARGET=	unzips
! MAKE_FLAGS=	CF="${CFLAGS} -I. -DBSD -Dunix -DUNIX -DUSE_UNSHRINK -DUSE_ZLIB" LF2=-lz
  
  .include "../../mk/bsd.prefs.mk"
  
>Audit-Trail:
>Unformatted: