-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mpgtx: clean up this mess! In the process, support build_arch and uni…
…versal (https://trac.macports.org/ticket/28331) and ensure we're UsingTheRightCompiler git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@75824 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
1 parent
2fd1d5a
commit ca079a3
Showing
3 changed files
with
65 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
BSD cp doesn't support "-d" to preserve symlinks, but "-R" does the same. | ||
--- configure.orig 2005-01-02 15:19:23.000000000 -0600 | ||
+++ configure 2011-02-09 15:34:24.000000000 -0600 | ||
@@ -29,7 +29,7 @@ | ||
LFS="yes" | ||
|
||
# cp flags | ||
-cpflags="d" | ||
+cpflags="R" | ||
|
||
# some stuff for MacOSX ----------------------------- | ||
HOSTNAME=`./config.guess` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- configure.orig 2005-01-02 15:19:23.000000000 -0600 | ||
+++ configure 2011-02-09 15:34:24.000000000 -0600 | ||
@@ -9,17 +9,17 @@ | ||
prefix="/usr/local" | ||
manprefix='$(PREFIX)' | ||
#compiler flags | ||
-CC="g++" | ||
-common_cflags="-Wall" | ||
+CC="@CXX@" | ||
+common_cflags="-Wall @CFLAGS@" | ||
devel_cflags="-g -Werror -fno-builtin" | ||
-optimization_cflags="-O3" | ||
+optimization_cflags="@OPTFLAGS@" | ||
release_cflags=$optimization_cflags | ||
OFLAGS="-ansi" | ||
cflags=$common_cflags | ||
|
||
#linker flags | ||
|
||
-lflags="" | ||
+lflags="@LDFLAGS@" | ||
|
||
#state vars | ||
debug="no" |