Skip to content

Commit

Permalink
Fix universal variant build. Closes ticket https://trac.macports.org/…
Browse files Browse the repository at this point in the history
  • Loading branch information
mf2k committed Oct 3, 2008
1 parent 4c9d05e commit 0f84497
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions audio/taglib/Portfile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -16,3 +16,17 @@ homepage http://developer.kde.org/~wheeler/taglib.html
platforms darwin platforms darwin
master_sites http://developer.kde.org/~wheeler/files/src/ master_sites http://developer.kde.org/~wheeler/files/src/
checksums sha1 0f57d4763af82a3d87f6c3f8875ca5d87ead918f checksums sha1 0f57d4763af82a3d87f6c3f8875ca5d87ead918f

if {[variant_isset universal]} {
depends_lib port:libtool port:autoconf
}

pre-configure {
if {[variant_isset universal]} {
delete ${worksrcpath}/autom4te.cache
copy -force ${prefix}/share/libtool/ltmain.sh ${worksrcpath}/admin
copy -force ${prefix}/share/aclocal/libtool.m4 ${worksrcpath}/admin/libtool.m4.in
system "cd ${worksrcpath} && autoreconf"
}
}

0 comments on commit 0f84497

Please sign in to comment.