ports/96549: update lang/spidermonkey - expose jsstr
Andrew Pantyukhin
infofarmer at gmail.com
Sun Apr 30 13:40:15 UTC 2006
>Number: 96549
>Category: ports
>Synopsis: update lang/spidermonkey - expose jsstr
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 30 13:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Andrew Pantyukhin
>Release: FreeBSD 6.1-RC i386
>Organization:
>Environment:
System: FreeBSD sat64.net17 6.1-RC FreeBSD 6.1-RC #15: Tue Apr 18 00:29:23 MSD 2006 sat at sat64.net17:/usr/obj/usr/src/sys/SATCUR32 i386
>Description:
o Expose jsstr.h. There's at least one app that needs
it - the new gxine.
o Move plist to Makefile
>How-To-Repeat:
>Fix:
--- spidermonkey.diff begins here ---
diff -urN /usr/ports/lang/spidermonkey/Makefile spidermonkey/Makefile
--- /usr/ports/lang/spidermonkey/Makefile Thu Mar 23 17:24:20 2006
+++ spidermonkey/Makefile Sun Apr 30 15:04:29 2006
@@ -53,6 +53,9 @@
MAKE_ENV+= CC="${CC}" CCC="${CXX}"
INSTALLS_SHLIB= YES
SRC_DIR= js/src
+JSH= jsapi.h jsautocfg.h jscompat.h jslong.h jsosdep.h jsotypes.h jspubtd.h jstypes.h \
+ jsstr.h jshash.h jsprvtd.h
+PLIST_FILES= bin/js lib/libjs.so ${JSH:S,^,include/,}
WRKSRC= ${WRKDIR}/${SRC_DIR}
EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
--exclude js/jsd \
@@ -84,8 +87,6 @@
${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}`${UNAME} -r`_DBG.OBJ/libjs.so \
${PREFIX}/lib
${CP} ${WRKSRC}/${OPSYS}`${UNAME} -r`_DBG.OBJ/jsautocfg.h ${WRKSRC}
-.for jsh in jsapi.h jsautocfg.h jscompat.h jslong.h jsosdep.h jsotypes.h jspubtd.h jstypes.h
- @${INSTALL_DATA} ${WRKSRC}/${jsh} ${PREFIX}/include/
-.endfor
+ @${INSTALL_DATA} ${JSH:S,^,${WRKSRC}/,} ${PREFIX}/include/
.include <bsd.port.post.mk>
diff -urN /usr/ports/lang/spidermonkey/pkg-plist spidermonkey/pkg-plist
--- /usr/ports/lang/spidermonkey/pkg-plist Tue May 4 23:14:05 2004
+++ spidermonkey/pkg-plist Thu Jan 1 03:00:00 1970
@@ -1,10 +0,0 @@
-bin/js
-lib/libjs.so
-include/jsapi.h
-include/jsautocfg.h
-include/jscompat.h
-include/jslong.h
-include/jsosdep.h
-include/jsotypes.h
-include/jspubtd.h
-include/jstypes.h
--- spidermonkey.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list