On Sun, Jun 20, 2010 at 06:32:09PM +0200, Bernd Ahlers wrote:
> Hey,
>
> the following diff is needed for an upcoming port.
> Any objections?
>
> Please test and comment.
>
> Thanks,
> Bernd
>
>
> Index: Makefile
> ===================================================================
> RCS file: /data/cvs/ports/lang/spidermonkey/Makefile,v
> retrieving revision 1.10
> diff -u -p -r1.10 Makefile
> --- Makefile 5 May 2009 21:01:55 -0000 1.10
> +++ Makefile 19 Jun 2010 11:54:34 -0000
> @@ -6,7 +6,7 @@ COMMENT= Mozilla's C implementation of J
>
> V= 1.7.0
> DISTNAME= js-${V}
> -PKGNAME= spidermonkey-${V}v0
> +PKGNAME= spidermonkey-${V}v1
Should that be patchlevel bump (p) or version marker (v)? I would think
patch level so that would be something like
PKGNAME= spidermonkey-${V}p0v0
See packages-specs(7)
> SHARED_LIBS= js 2.0
> CATEGORIES= lang
>
> @@ -41,15 +41,11 @@ MAKE_FLAGS= SO_SUFFIX=so.${LIBjs_VERSION
> USE_GMAKE= Yes
> NO_REGRESS= Yes
>
> -HEADERS= jsapi.h jsconfig.h jscompat.h jslong.h jsosdep.h \
> - jsotypes.h jspubtd.h jstypes.h jsstr.h jshash.h jsprvtd.h \
> - jsproto.tbl
> -
> do-install:
> ${INSTALL_PROGRAM} ${WRKSRC}/Linux_All_DBG.OBJ/js ${PREFIX}/bin
> ${INSTALL_DATA} ${WRKSRC}/Linux_All_DBG.OBJ/libjs.so.${LIBjs_VERSION}
> ${PREFIX}/lib
> ${INSTALL_DATA_DIR} ${PREFIX}/include/js
> - @cd ${WRKSRC} && ${INSTALL_DATA} ${HEADERS} \
> + @cd ${WRKSRC} && ${INSTALL_DATA} js*.{h,tbl} \
> ${WRKSRC}/Linux_All_DBG.OBJ/jsautocfg.h ${PREFIX}/include/js/
>
> .include <bsd.port.mk>
> Index: pkg/PLIST
> ===================================================================
> RCS file: /data/cvs/ports/lang/spidermonkey/pkg/PLIST,v
> retrieving revision 1.2
> diff -u -p -r1.2 PLIST
> --- pkg/PLIST 5 May 2009 21:01:55 -0000 1.2
> +++ pkg/PLIST 19 Jun 2010 11:55:54 -0000
> @@ -3,15 +3,52 @@
> @bin bin/js
> include/js/
> include/js/jsapi.h
> +include/js/jsarena.h
> +include/js/jsarray.h
> +include/js/jsatom.h
> include/js/jsautocfg.h
> +include/js/jsbit.h
> +include/js/jsbool.h
> +include/js/jsclist.h
> +include/js/jscntxt.h
> include/js/jscompat.h
> include/js/jsconfig.h
> +include/js/jscpucfg.h
> +include/js/jsdate.h
> +include/js/jsdbgapi.h
> +include/js/jsdhash.h
> +include/js/jsdtoa.h
> +include/js/jsemit.h
> +include/js/jsexn.h
> +include/js/jsfile.h
> +include/js/jsfun.h
> +include/js/jsgc.h
> include/js/jshash.h
> +include/js/jsinterp.h
> +include/js/jsiter.h
> +include/js/jskeyword.tbl
> +include/js/jslibmath.h
> +include/js/jslock.h
> include/js/jslong.h
> +include/js/jsmath.h
> +include/js/jsnum.h
> +include/js/jsobj.h
> +include/js/jsopcode.h
> +include/js/jsopcode.tbl
> include/js/jsosdep.h
> include/js/jsotypes.h
> +include/js/jsparse.h
> +include/js/jsprf.h
> include/js/jsproto.tbl
> include/js/jsprvtd.h
> include/js/jspubtd.h
> +include/js/jsregexp.h
> +include/js/jsscan.h
> +include/js/jsscope.h
> +include/js/jsscript.h
> +include/js/jsstddef.h
> include/js/jsstr.h
> include/js/jstypes.h
> +include/js/jsutil.h
> +include/js/jsxdrapi.h
> +include/js/jsxml.h
--
best regards
q#