head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.58 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.56 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.54 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.52 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.50 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.48 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.46 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.44 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.42 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.40 cwrapper-base:1.7 pkg_install-renovation:1.7.0.38 pkg_install-renovation-base:1.7 pkgsrc-2008Q1:1.7.0.36 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.34 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.32 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.30 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.28 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.26 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.24 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.22 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.20 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.18 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.16 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.14 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.12 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.10 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.8 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.6 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 netbsd-1-6:1.6.0.6 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.2 pkgviews-base:1.6 buildlink2:1.4.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.4 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.7 date 2002.12.20.18.15.53; author schmonz; state dead; branches; next 1.6; 1.6 date 2002.07.03.22.43.40; author abs; state Exp; branches; next 1.5; 1.5 date 2002.06.08.16.45.48; author schmonz; state Exp; branches; next 1.4; 1.4 date 2001.12.27.22.10.15; author agc; state Exp; branches 1.4.2.1; next 1.3; 1.3 date 2001.12.17.21.23.42; author agc; state Exp; branches; next 1.2; 1.2 date 2001.10.30.14.17.03; author agc; state Exp; branches; next 1.1; 1.1 date 2001.03.07.00.17.30; author hubertf; state Exp; branches; next ; 1.4.2.1 date 2002.06.23.18.57.43; author jlam; state Exp; branches; next 1.4.2.2; 1.4.2.2 date 2002.08.23.05.09.13; author jlam; state Exp; branches; next ; desc @@ 1.7 log @As the sources are now in ${FILESDIR}, there's no distfile to fetch, and the "do-extract" target copies the sources into ${WRKSRC}. We automagically determine VERSION by inspecting ${FILESDIR}/lib/version.h. Thanks to autoconf, all the patches and almost all of the cruftulent ${OPSYS}-specific stuff in the Makefile are gone. @ text @$NetBSD: patch-ab,v 1.6 2002/07/03 22:43:40 abs Exp $ --- Makefile.orig Tue Jan 9 03:13:43 2001 +++ Makefile @@@@ -2,5 +2,7 @@@@ # Original from FreeBSD, no rcs id. -SUBDIR=lib .WAIT add admin create delete info +SUBDIR=lib add admin create delete info + +all-add all-admin all-create all-delete all-info: all-lib .include @ 1.6 log @Compile and run under Linux. We're still missing pax and mtree, but using the Darwin bootstrap kit everything else now works. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Darwin provides a /usr/bin/gnutar newer than what's in archivers/gtar-base. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2001/12/27 22:10:15 agc Exp $ d3 4 a6 3 --- Makefile.inc 2001/12/17 21:10:41 1.1 +++ Makefile.inc 2001/12/17 21:13:54 @@@@ -3,6 +3,9 @@@@ d8 4 a11 1 .include d13 1 a13 22 +.if !defined(PRINTOBJDIR) +PRINTOBJDIR= printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -B -s -f- +.endif LIBINSTALL != cd ${.CURDIR}/../lib && ${PRINTOBJDIR} CPPFLAGS+=-I${.CURDIR}/../lib ${DEBUG} -DBINDIR='"${BINDIR}"' @@@@ -35,6 +38,15 @@@@ CHMOD?= /bin/chmod CHOWN?= /bin/chown CHGRP?= /bin/chgrp +.elif ${OPSYS} == "Darwin" +CHMOD?= /bin/chmod +CHOWN?= /usr/sbin/chown +CHGRP?= /usr/bin/chgrp +TAR_CMD?= gnutar +TAR_FULLPATHNAME?= /usr/bin/${TAR_CMD} +CPPFLAGS+=-DTAR_CMD='"${TAR_CMD}"' -DTAR_FULLPATHNAME='"${TAR_FULLPATHNAME}"' +.PATH: ${DIGESTDIR} +CPPFLAGS+= -I${DIGESTDIR} .endif CPPFLAGS+= -DCHMOD='"${CHMOD}"' -DCHOWN='"${CHOWN}"' -DCHGRP='"${CHGRP}"' @ 1.4 log @On Darwin, use GNU tar (from the gtar-base package) when creating binary packages, since certain arguments passed to the tar command by pkg_create assume the existence of GNU tar (-T for one), and Darwin's standard tar doesn't understand these. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2001/12/17 21:23:42 agc Exp $ d23 2 a24 2 +TAR_CMD?= gtar +TAR_FULLPATHNAME?= ${LOCALBASE}/bin/${TAR_CMD} @ 1.4.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2002/06/08 16:45:48 schmonz Exp $ d23 2 a24 2 +TAR_CMD?= gnutar +TAR_FULLPATHNAME?= /usr/bin/${TAR_CMD} @ 1.4.2.2 log @Merge changes from HEAD of pkgsrc/pkgtools to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 4 --- Makefile.orig Tue Jan 9 03:13:43 2001 +++ Makefile @@@@ -2,5 +2,7 @@@@ # Original from FreeBSD, no rcs id. d7 1 a7 4 -SUBDIR=lib .WAIT add admin create delete info +SUBDIR=lib add admin create delete info + +all-add all-admin all-create all-delete all-info: all-lib d9 22 a30 1 .include @ 1.3 log @Patches from Yuji Yamano to make this compile properly on Darwin. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2001/10/30 14:17:03 agc Exp $ d15 1 a15 1 @@@@ -35,6 +38,12 @@@@ d23 3 @ 1.2 log @Add patches for Darwin @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2001/03/07 00:17:30 hubertf Exp $ d3 2 a4 2 --- Makefile.inc Mon Oct 29 15:55:48 2001 +++ Makefile.inc Mon Oct 29 15:47:43 2001 d15 1 a15 1 @@@@ -35,6 +38,10 @@@@ d23 2 @ 1.1 log @Fix this to compile on systems that don't have a make(1) from post-1.5 NetBSD-current. XXX is removal of NO_PATCH ok here? (Zoularis context etc.) @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 7 Index: Makefile.inc =================================================================== RCS file: /cvsroot/basesrc/usr.sbin/pkg_install/Makefile.inc,v retrieving revision 1.14 diff -u -r1.14 Makefile.inc --- Makefile.inc 2001/01/07 08:00:58 1.14 +++ Makefile.inc 2001/03/06 23:54:39 d15 11 @