Subject: pkgsrc/mk patch for solaris
To: None <tech-pkg@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-pkg
Date: 10/27/2002 19:29:39
--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,
I still need the attached patch on Solaris, because, I guess, of
differences between solaris and NetBSD /bin/sh.
It doesn't seem to cause any problems on NetBSD.

Should I commit it ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

? bsd.prefs.mk.badmerge
Index: bsd.pkg.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.1077
diff -u -r1.1077 bsd.pkg.mk
--- bsd.pkg.mk	2002/10/23 12:21:29	1.1077
+++ bsd.pkg.mk	2002/10/27 18:27:38
@@ -643,7 +643,7 @@
 SIZE_ALL_FILE=		${WRKDIR}/.SizeAll
 
 .ifndef PKG_ARGS_COMMON
-PKG_ARGS_COMMON=	-v -c -${COMMENT:Q}" " -d ${DESCR} -f ${PLIST}
+PKG_ARGS_COMMON=	-v -c -\"${COMMENT:Q}" "\" -d ${DESCR} -f ${PLIST}
 PKG_ARGS_COMMON+=	-l -b ${BUILD_VERSION_FILE} -B ${BUILD_INFO_FILE}
 PKG_ARGS_COMMON+=	-s ${SIZE_PKG_FILE} -S ${SIZE_ALL_FILE}
 PKG_ARGS_COMMON+=	-P "`${MAKE} ${MAKEFLAGS} run-depends-list PACKAGE_DEPENDS_QUICK=true | ${SORT} -u`"

--J2SCkAp4GZ/dPZZf--