svn commit: r306664 - in head/emulators: mame mess
Guido Falsi
madpilot at FreeBSD.org
Tue Oct 30 08:47:54 UTC 2012
Author: madpilot
Date: Tue Oct 30 08:47:53 2012
New Revision: 306664
URL: http://svn.freebsd.org/changeset/ports/306664
Log:
Move OSVERSION check after bsd.port.pre.mk.
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Feature safe: yes
Modified:
head/emulators/mame/Makefile
head/emulators/mess/Makefile
Modified: head/emulators/mame/Makefile
==============================================================================
--- head/emulators/mame/Makefile Tue Oct 30 08:20:46 2012 (r306663)
+++ head/emulators/mame/Makefile Tue Oct 30 08:47:53 2012 (r306664)
@@ -51,14 +51,6 @@ UPDATE_PATCHES!= /usr/bin/jot -s " " \
.include <bsd.port.options.mk>
-.if exists(/usr/bin/clang) && ${OSVERSION} >= 900014
-CC= /usr/bin/clang
-CPP= /usr/bin/clang-cpp
-CXX= /usr/bin/clang++
-.else
-USE_GCC= 4.6+
-.endif
-
.if ${PORT_OPTIONS:MBUILTIN_DEBUGGER}
USE_GNOME= gtk20 gconf2
MAKE_ENV+= GTK_INCPATH="$$(pkg-config --cflags-only-I gtk+-2.0 gconf-2.0)" \
@@ -77,6 +69,14 @@ MAKE_ENV+= DEBUG=1
.include <bsd.port.pre.mk>
+.if exists(/usr/bin/clang) && ${OSVERSION} >= 900014
+CC= /usr/bin/clang
+CPP= /usr/bin/clang-cpp
+CXX= /usr/bin/clang++
+.else
+USE_GCC= 4.6+
+.endif
+
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN= Does not install on ia64, powerpc, or sparc64
.endif
Modified: head/emulators/mess/Makefile
==============================================================================
--- head/emulators/mess/Makefile Tue Oct 30 08:20:46 2012 (r306663)
+++ head/emulators/mess/Makefile Tue Oct 30 08:47:53 2012 (r306664)
@@ -51,14 +51,6 @@ UPDATE_PATCHES!= /usr/bin/jot -s " " \
.include <bsd.port.options.mk>
-.if exists(/usr/bin/clang) && ${OSVERSION} >= 900014
-CC= /usr/bin/clang
-CPP= /usr/bin/clang-cpp
-CXX= /usr/bin/clang++
-.else
-USE_GCC= 4.6+
-.endif
-
.if ${PORT_OPTIONS:MBUILTIN_DEBUGGER}
USE_GNOME= gtk20 gconf2
MAKE_ENV+= GTK_INCPATH="$$(pkg-config --cflags-only-I gtk+-2.0 gconf-2.0)" \
@@ -77,6 +69,14 @@ MAKE_ENV+= DEBUG=1
.include <bsd.port.pre.mk>
+.if exists(/usr/bin/clang) && ${OSVERSION} >= 900014
+CC= /usr/bin/clang
+CPP= /usr/bin/clang-cpp
+CXX= /usr/bin/clang++
+.else
+USE_GCC= 4.6+
+.endif
+
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN= Does not install on ia64, powerpc, or sparc64
.endif
More information about the svn-ports-head
mailing list