[142730] trunk/dports/devel/vecLibFort

takeshi at macports.org takeshi at macports.org
Sat Dec 12 06:59:36 PST 2015


Revision: 142730
          https://trac.macports.org/changeset/142730
Author:   takeshi at macports.org
Date:     2015-11-20 22:23:42 -0800 (Fri, 20 Nov 2015)
Log Message:
-----------
vecLibFort: allow 32-bit and universal builds of vecLibFort, closing #49103

Modified Paths:
--------------
    trunk/dports/devel/vecLibFort/Portfile
    trunk/dports/devel/vecLibFort/files/patch-Makefile.diff

Modified: trunk/dports/devel/vecLibFort/Portfile
===================================================================
--- trunk/dports/devel/vecLibFort/Portfile	2015-11-21 04:02:18 UTC (rev 142729)
+++ trunk/dports/devel/vecLibFort/Portfile	2015-11-21 06:23:42 UTC (rev 142730)
@@ -23,10 +23,13 @@
 
 use_configure       no
 
+variant universal  {}
+
 build.args          CC=${configure.cc} \
                     CFLAGS="${configure.cflags} [get_canonical_archflags]" \
                     PREFIX=${prefix} \
                     LD=${configure.cc} \
+                    LDFLAGS="[get_canonical_archflags]" \
                     DESTDIR=${destroot}${prefix}
 
 destroot.args       PREFIX=${prefix}

Modified: trunk/dports/devel/vecLibFort/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/vecLibFort/files/patch-Makefile.diff	2015-11-21 04:02:18 UTC (rev 142729)
+++ trunk/dports/devel/vecLibFort/files/patch-Makefile.diff	2015-11-21 06:23:42 UTC (rev 142730)
@@ -14,13 +14,13 @@
  
  $(DYNAMIC): $(OBJECT)
 -	clang -shared -o $@ $^ \
-+	$(LD) -shared -o $@ $^ \
++	$(LD) -shared $(LDFLAGS) -o $@ $^ \
  		-Wl,-reexport_framework -Wl,Accelerate \
  		-install_name $(LIBDIR)/$@
  
  $(PRELOAD): $(SOURCE) $(DEPEND)
 -	clang -shared $(CFLAGS) -DVECLIBFORT_INTERPOSE -o $@ -O $(SOURCE) \
-+	$(LD) -shared $(CFLAGS) -DVECLIBFORT_INTERPOSE -o $@ -O $(SOURCE) \
++	$(LD) -shared $(LDFLAGS) -DVECLIBFORT_INTERPOSE -o $@ -O $(SOURCE) \
  		-Wl,-reexport_framework -Wl,Accelerate \
  		-install_name $(LIBDIR)/$@
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/1fc6be4e/attachment.html>


More information about the macports-changes mailing list