Skip to content

Commit

Permalink
When building the darwinports port on an Intel imac, supply proper fl…
Browse files Browse the repository at this point in the history
…ags to

build as fat. Note that these flags do nothing for darwinports 1.2, but work
on 1.3 and may work in a potential 1.2.1 release.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@17180 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jdberry committed Mar 26, 2006
1 parent bf16dcb commit a45b9ee
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sysutils/darwinports/Portfile
@@ -1,9 +1,11 @@
# $Id: Portfile,v 1.16 2005/12/16 06:45:52 jmpp Exp $
# $Id: Portfile,v 1.17 2006/03/26 18:08:22 jberry Exp $

PortSystem 1.0

name DarwinPorts
version 1.2
revision 1

categories sysutils
platforms darwin freebsd
maintainers portmgr@opendarwin.org
Expand Down Expand Up @@ -149,3 +151,8 @@ platform darwin 8 {
reinplace "s|or newer ||" ${resources}/Welcome.html
}
}

platform darwin 8 i386 {
# Supply architecture flags to build darwinports as fat on an Intel Mac
configure.args-append "CFLAGS='-arch ppc -arch i386' SHLIB_LDFLAGS='-arch ppc -arch i386'"
}

0 comments on commit a45b9ee

Please sign in to comment.