You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user