[30336] trunk/dports/lang/spidermonkey

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 24 21:54:41 PDT 2007


Revision: 30336
          http://trac.macosforge.org/projects/macports/changeset/30336
Author:   markd at macports.org
Date:     2007-10-24 21:54:40 -0700 (Wed, 24 Oct 2007)

Log Message:
-----------
Closes #12480.  Use ${install.user} & ${install.group} for install.

Modified Paths:
--------------
    trunk/dports/lang/spidermonkey/Portfile
    trunk/dports/lang/spidermonkey/files/spidermonkey-1.5-build.patch

Modified: trunk/dports/lang/spidermonkey/Portfile
===================================================================
--- trunk/dports/lang/spidermonkey/Portfile	2007-10-25 04:33:13 UTC (rev 30335)
+++ trunk/dports/lang/spidermonkey/Portfile	2007-10-25 04:54:40 UTC (rev 30336)
@@ -4,6 +4,7 @@
 
 name			spidermonkey
 version			1.60
+revision                1
 categories		lang
 platforms		darwin
 maintainers		nomaintainer
@@ -30,6 +31,10 @@
 post-patch {
 	reinplace "s|__PREFIX__|${prefix}|g" \
 		${worksrcpath}/Makefile.ref
+	reinplace "s|__USER__|${install.user}|g" \
+		${worksrcpath}/Makefile.ref
+	reinplace "s|__GROUP__|${install.group}|g" \
+		${worksrcpath}/Makefile.ref
 }
 
 use_configure	no

Modified: trunk/dports/lang/spidermonkey/files/spidermonkey-1.5-build.patch
===================================================================
--- trunk/dports/lang/spidermonkey/files/spidermonkey-1.5-build.patch	2007-10-25 04:33:13 UTC (rev 30335)
+++ trunk/dports/lang/spidermonkey/files/spidermonkey-1.5-build.patch	2007-10-25 04:54:40 UTC (rev 30336)
@@ -9,7 +9,7 @@
  else
  ifdef JS_EDITLINE
  # Use the editline library, built locally.
-@@ -370,3 +370,16 @@ TARFILES = files `cat files`
+@@ -370,3 +370,18 @@ TARFILES = files `cat files`
  SUFFIXES: .i
  %.i: %.c
  	$(CC) -C -E $(CFLAGS) $< > $*.i
@@ -19,7 +19,9 @@
 +BINDIR := $(PREFIX)/bin
 +MY_LIBDIR := $(PREFIX)/$(LIBDIR)
 +INCLUDEDIR := $(PREFIX)/include/js
-+INSTALL := install -g 0 -o root
++USER := __USER__
++GROUP := __GROUP__
++INSTALL := install -g $(GROUP) -o $(USER)
 +install:
 +	$(INSTALL) -m 755 -d $(DESTDIR)$(INCLUDEDIR) $(DESTDIR)$(MY_LIBDIR) $(DESTDIR)$(BINDIR)
 +	$(INSTALL) -m 755 $(SHARED_LIBRARY) $(DESTDIR)$(MY_LIBDIR)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071024/71f8fd94/attachment.html


More information about the macports-changes mailing list