[136921] trunk/dports/graphics/autotrace/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri May 29 20:13:05 PDT 2015


Revision: 136921
          https://trac.macports.org/changeset/136921
Author:   ryandesign at macports.org
Date:     2015-05-29 20:13:05 -0700 (Fri, 29 May 2015)
Log Message:
-----------
autotrace: autoreconf to fix issues building with ccache or with the universal variant

Modified Paths:
--------------
    trunk/dports/graphics/autotrace/Portfile

Modified: trunk/dports/graphics/autotrace/Portfile
===================================================================
--- trunk/dports/graphics/autotrace/Portfile	2015-05-30 02:52:51 UTC (rev 136920)
+++ trunk/dports/graphics/autotrace/Portfile	2015-05-30 03:13:05 UTC (rev 136921)
@@ -25,6 +25,7 @@
 depends_lib			port:libpng port:pstoedit port:ImageMagick
 
 post-extract {
+    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
 	file mkdir ${workpath}/bin
 	xinstall ${filespath}/pstoedit-config ${workpath}/bin
 }
@@ -32,21 +33,20 @@
 patchfiles			patch-autotrace.m4.diff \
 					patch-libpng-1.5.diff
 
+# Fix universal variant, build with ccache
+use_autoreconf          yes
+autoreconf.args-append  --force
+
 configure.args		--mandir=${prefix}/share/man \
 					--with-magick \
 					--with-pstoedit-prefix=${workpath}
 
-# ccache: invalid option -- d
-configure.ccache	no
-
-# in ./.libs/libautotrace.dylib, file was built for unsupported file format which is not the architecture being linked
-universal_variant	no
-
 post-destroot {
-	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    set docdir ${prefix}/share/doc/${subport}
+    xinstall -m 755 -d ${destroot}${docdir}
 	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LIB ChangeLog \
 		FAQ HACKING INSTALL NEWS README README.MING THANKS TODO \
-		${destroot}${prefix}/share/doc/${name}
+        ${destroot}${docdir}
 }
 
 livecheck.distname AutoTrace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150529/5fc104b9/attachment-0001.html>


More information about the macports-changes mailing list