[42692] trunk/dports/devel/trio

toby at macports.org toby at macports.org
Sat Nov 29 11:15:44 PST 2008


Revision: 42692
          http://trac.macports.org/changeset/42692
Author:   toby at macports.org
Date:     2008-11-29 11:15:44 -0800 (Sat, 29 Nov 2008)
Log Message:
-----------
fix +universal build

Modified Paths:
--------------
    trunk/dports/devel/trio/Portfile
    trunk/dports/devel/trio/files/patch-Makefile.in

Modified: trunk/dports/devel/trio/Portfile
===================================================================
--- trunk/dports/devel/trio/Portfile	2008-11-29 18:59:58 UTC (rev 42691)
+++ trunk/dports/devel/trio/Portfile	2008-11-29 19:15:44 UTC (rev 42692)
@@ -21,8 +21,10 @@
                  rmd160 03b9816159b49456343df19bebcdc2c39cce510b
 
 patchfiles       patch-Makefile.in
-post-patch {
-	reinplace "s|__VERSION__|${version}|" ${worksrcpath}/Makefile.in
+
+post-configure {
+	reinplace "s|__VERSION__|${version}|" ${worksrcpath}/Makefile
+	reinplace "s|__LDFLAGS__|${configure.ldflags}|" ${worksrcpath}/Makefile
 }
 
 test.run         yes

Modified: trunk/dports/devel/trio/files/patch-Makefile.in
===================================================================
--- trunk/dports/devel/trio/files/patch-Makefile.in	2008-11-29 18:59:58 UTC (rev 42691)
+++ trunk/dports/devel/trio/files/patch-Makefile.in	2008-11-29 19:15:44 UTC (rev 42692)
@@ -30,7 +30,7 @@
  	$(RANLIB) $(TARGETLIB)
  
 +dylib: $(TARGETLIB)
-+	$(CC) -dynamiclib -all_load -install_name $(prefix)/lib/libtrio.1.dylib -compatibility_version 1 -current_version __VERSION__ -o libtrio.1.dylib $(TARGETLIB)
++	$(CC) __LDFLAGS__ -dynamiclib -all_load -install_name $(prefix)/lib/libtrio.1.dylib -compatibility_version 1 -current_version __VERSION__ -o libtrio.1.dylib $(TARGETLIB)
 +
  doc::
  	$(GENDOC) doc/trio.cfg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081129/c344ad60/attachment.html>


More information about the macports-changes mailing list