Fix +universal:

- Update the reinplace regexp to match the current sources
- Work-around base's automake-specific setting of --disable-dependency-tracking

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@59862 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Landon Fuller
2009-10-25 01:32:20 +00:00
parent b9d5c86fd6
commit 4a445bb2eb
+6 -1
View File
@@ -37,6 +37,11 @@ configure.dir ${worksrcpath}
configure.pre_args CC=\"\${CC}\" flags \
${args}
# The automake-specific --disable-dependency-tracking is added to all configure arguments
# when +universal is enabled -- we work around this behavior by removing the flag
# explicitly.
configure.universal_args-delete --disable-dependency-tracking
build.target generic
build.args ${args}
@@ -55,7 +60,7 @@ variant universal {
configure.args "LOCAL_ZIP=\"${configure.universal_cflags}\""
post-patch {
reinplace -E "s|(LFLAGS1=\")|\\1${configure.universal_ldflags}|" \
reinplace -E "s|(LFLAGS1=')|\\1${configure.universal_ldflags}|" \
${worksrcpath}/unix/configure
}
}