Skip to content
Permalink
Browse files

arc: support changing build_arch

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@68755 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Jun 12, 2010
1 parent 3abbac2 commit 2d66f00466a74a9b4221456a1206b1cfae48d4f4
Showing with 4 additions and 3 deletions.
  1. +4 −3 archivers/arc/Portfile
@@ -23,9 +23,12 @@ use_configure no

set CFLAGS ${configure.cflags}

if {[variant_isset universal]} {
variant universal {
set CFLAGS "${CFLAGS} ${configure.universal_cflags}"
}
if {![variant_isset universal]} {
set CFLAGS "${CFLAGS} ${configure.cc_archflags}"
}

build.args CC=${configure.cc} \
OPT="${CFLAGS}"
@@ -40,7 +43,5 @@ destroot {
${destroot}${docdir}
}

variant universal {}

livecheck.regex "<title>${name} ${name}-(\\d+(?:\\.\\d+)*\[a-z\]?) released.*</title>"

0 comments on commit 2d66f00

Please sign in to comment.
You can’t perform that action at this time.