Bug 134770 - lang/spidermonkey misses installation of some header files
Summary: lang/spidermonkey misses installation of some header files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 04:40 UTC by Yun Huang Yong
Modified: 2009-06-23 20:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yun Huang Yong 2009-05-21 04:40:01 UTC
The port Makefile defines $(JSH), a list of header files to be installed.  In building a 3rd party app I discovered my installed port is missing "jsdate.h".  Upon further investigation it seems that the port may be missing several other header files.

Fix: 

Sorry, I am not familiar enough with SpiderMonkey to know the right solution here.

Adding jsdate.h to Makefile's $(JSH) solves my issue however Makefile.ref within the SpiderMonkey source defines almost 30 header files, and I wonder if they should all be installed.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-05-21 04:40:09 UTC
Maintainer of lang/spidermonkey,

Please note that PR ports/134770 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/134770

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-05-21 04:40:13 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Dan Rench 2009-05-26 20:34:35 UTC
Thanks for catching this.

The patch below adds jsdate.h along with the other missing .h files
from Makefile.ref:

diff --git a/Makefile b/Makefile
index 93febaf..d063b3b 100644
--- a/Makefile
+++ b/Makefile
@@ -32,9 +32,16 @@ ALL_TARGET=	${OPSYS}`${UNAME} -r`_DBG.OBJ/js
 MAKE_ENV+=	CCC="${CXX}"
 USE_LDCONFIG=	yes
 SRC_DIR=	js/src
-JSH=		jsapi.h jsautocfg.h jsconfig.h jscompat.h jslong.h jsosdep.h \
-		jsotypes.h jspubtd.h jstypes.h jsstr.h jshash.h jsprvtd.h \
+
+JSH=		jsapi.h jsarena.h jsarray.h jsatom.h jsautocfg.h jsbool.h \
+		jsclist.h jscntxt.h jscompat.h jsconfig.h jsdate.h jsdhash.h \
+		jsdtoa.h jsemit.h jsexn.h jsfun.h jsgc.h jshash.h jsinterp.h \
+		jsiter.h jslibmath.h jslock.h jslong.h jsmath.h jsnum.h jsobj.h \
+		jsopcode.h jsosdep.h jsotypes.h jsparse.h jsprvtd.h jspubtd.h \
+		jsregexp.h jsscan.h jsscope.h jsscript.h jsstr.h jstypes.h \
+		jsxdrapi.h jsxml.h \
 		jsproto.tbl
+
 PLIST_FILES=	bin/js lib/libjs.so lib/libjs.so.1 ${JSH:S,^,include/,}
 WRKSRC=		${WRKDIR}/${SRC_DIR}
 EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
Comment 4 Yun Huang Yong 2009-05-30 16:49:02 UTC
Sorry I missed your reply as it got caught in my spam filters.

This works great.  Thanks for the speedy response. :)

At 05:34 AM 27/05/2009, Dan Rench wrote:
>Thanks for catching this.
>
>The patch below adds jsdate.h along with the other missing .h files
>from Makefile.ref:
>[snip]


-- 
                                     (__)    Share what you know.
Yun Huang Yong              `\------(oo)    Learn what you don't.
gumby@mooh.org                ||    (__) --'
goosmurf@yahoo.com      \|/   ||w--||        \|/
--
Comment 5 Philip M. Gollucci freebsd_committer freebsd_triage 2009-06-23 19:41:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pgollucci

approved
Comment 6 Philip M. Gollucci freebsd_committer freebsd_triage 2009-06-23 20:25:38 UTC
State Changed
From-To: feedback->open

Maintainer has approved.
Comment 7 Philip M. Gollucci freebsd_committer freebsd_triage 2009-06-23 20:47:27 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 8 dfilter service freebsd_committer freebsd_triage 2009-06-23 20:47:27 UTC
pgollucci    2009-06-23 19:47:12 UTC

  FreeBSD ports repository

  Modified files:
    lang/spidermonkey    Makefile 
  Log:
  - Fix pkg-plist (install all header files)
  
  PR:             ports/134770
  Submitted by:   Dan Rench <citric@cubicone.tmetic.com>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.25      +11 -7     ports/lang/spidermonkey/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"