summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/fox-devel/Makefile4
-rw-r--r--x11-toolkits/fox-devel/files/patch-ad14
-rw-r--r--x11-toolkits/fox/Makefile4
-rw-r--r--x11-toolkits/fox/files/patch-ad14
-rw-r--r--x11-toolkits/fox10/Makefile4
-rw-r--r--x11-toolkits/fox10/files/patch-ad14
-rw-r--r--x11-toolkits/fox14/Makefile4
-rw-r--r--x11-toolkits/fox14/files/patch-ad14
8 files changed, 44 insertions, 28 deletions
diff --git a/x11-toolkits/fox-devel/Makefile b/x11-toolkits/fox-devel/Makefile
index f91b89a6..3354a49 100644
--- a/x11-toolkits/fox-devel/Makefile
+++ b/x11-toolkits/fox-devel/Makefile
@@ -32,6 +32,7 @@ PATCHVERSION= ${PORTVERSION}
USE_MESA= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
CONFIGURE_ARGS+=--with-opengl=mesa --with-x
.if defined(NO_SHM)
CONFIGURE_ARGS+=--with-shm=no
@@ -53,6 +54,9 @@ MAKE_ENV+= LT_CURRENT="${SHLIB_MAJ}" LT_REVISION="${SHLIB_MIN}"
PLIST_SUB+= LIBVER="${SHLIB_MAJ}"
MAN1= reswrap.1
+# Uncomment this to turn the default optimization flags on.
+CXXFLAGS= -O2 -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations
+
.if defined(WITH_XUNICODE)
post-extract:
cd ${WRKSRC} && ${LN} -s ${X11BASE}/include/xunicode
diff --git a/x11-toolkits/fox-devel/files/patch-ad b/x11-toolkits/fox-devel/files/patch-ad
index 551b79b..9ec0f21 100644
--- a/x11-toolkits/fox-devel/files/patch-ad
+++ b/x11-toolkits/fox-devel/files/patch-ad
@@ -1,15 +1,15 @@
---- configure.orig Wed Apr 4 13:25:59 2001
-+++ configure Mon Apr 30 00:42:01 2001
-@@ -839,8 +839,6 @@
+--- configure.orig Thu Apr 5 05:25:59 2001
++++ configure Tue May 1 01:34:27 2001
+@@ -839,7 +839,7 @@
-CXXFLAGS=""
--
++#CXXFLAGS=""
+
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:846: checking whether ${MAKE-make} sets \${MAKE}" >&5
- set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
-@@ -3440,9 +3438,12 @@
+@@ -3440,9 +3440,12 @@
echo "$ac_t""$enable_release" 1>&6
if test "x$enable_release" = "xyes" ; then
@@ -17,7 +17,7 @@
+CXXFLAGS="${CXXFLAGS} -DNDEBUG"
if test "${GXX}" = "yes" ; then
-CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
-+CXXFLAGS="${CXXFLAGS}"
++#CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
+if test "${with_profiling}" = ""; then
+CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer"
+fi
diff --git a/x11-toolkits/fox/Makefile b/x11-toolkits/fox/Makefile
index f91b89a6..3354a49 100644
--- a/x11-toolkits/fox/Makefile
+++ b/x11-toolkits/fox/Makefile
@@ -32,6 +32,7 @@ PATCHVERSION= ${PORTVERSION}
USE_MESA= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
CONFIGURE_ARGS+=--with-opengl=mesa --with-x
.if defined(NO_SHM)
CONFIGURE_ARGS+=--with-shm=no
@@ -53,6 +54,9 @@ MAKE_ENV+= LT_CURRENT="${SHLIB_MAJ}" LT_REVISION="${SHLIB_MIN}"
PLIST_SUB+= LIBVER="${SHLIB_MAJ}"
MAN1= reswrap.1
+# Uncomment this to turn the default optimization flags on.
+CXXFLAGS= -O2 -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations
+
.if defined(WITH_XUNICODE)
post-extract:
cd ${WRKSRC} && ${LN} -s ${X11BASE}/include/xunicode
diff --git a/x11-toolkits/fox/files/patch-ad b/x11-toolkits/fox/files/patch-ad
index 551b79b..9ec0f21 100644
--- a/x11-toolkits/fox/files/patch-ad
+++ b/x11-toolkits/fox/files/patch-ad
@@ -1,15 +1,15 @@
---- configure.orig Wed Apr 4 13:25:59 2001
-+++ configure Mon Apr 30 00:42:01 2001
-@@ -839,8 +839,6 @@
+--- configure.orig Thu Apr 5 05:25:59 2001
++++ configure Tue May 1 01:34:27 2001
+@@ -839,7 +839,7 @@
-CXXFLAGS=""
--
++#CXXFLAGS=""
+
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:846: checking whether ${MAKE-make} sets \${MAKE}" >&5
- set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
-@@ -3440,9 +3438,12 @@
+@@ -3440,9 +3440,12 @@
echo "$ac_t""$enable_release" 1>&6
if test "x$enable_release" = "xyes" ; then
@@ -17,7 +17,7 @@
+CXXFLAGS="${CXXFLAGS} -DNDEBUG"
if test "${GXX}" = "yes" ; then
-CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
-+CXXFLAGS="${CXXFLAGS}"
++#CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
+if test "${with_profiling}" = ""; then
+CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer"
+fi
diff --git a/x11-toolkits/fox10/Makefile b/x11-toolkits/fox10/Makefile
index f91b89a6..3354a49 100644
--- a/x11-toolkits/fox10/Makefile
+++ b/x11-toolkits/fox10/Makefile
@@ -32,6 +32,7 @@ PATCHVERSION= ${PORTVERSION}
USE_MESA= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
CONFIGURE_ARGS+=--with-opengl=mesa --with-x
.if defined(NO_SHM)
CONFIGURE_ARGS+=--with-shm=no
@@ -53,6 +54,9 @@ MAKE_ENV+= LT_CURRENT="${SHLIB_MAJ}" LT_REVISION="${SHLIB_MIN}"
PLIST_SUB+= LIBVER="${SHLIB_MAJ}"
MAN1= reswrap.1
+# Uncomment this to turn the default optimization flags on.
+CXXFLAGS= -O2 -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations
+
.if defined(WITH_XUNICODE)
post-extract:
cd ${WRKSRC} && ${LN} -s ${X11BASE}/include/xunicode
diff --git a/x11-toolkits/fox10/files/patch-ad b/x11-toolkits/fox10/files/patch-ad
index 551b79b..9ec0f21 100644
--- a/x11-toolkits/fox10/files/patch-ad
+++ b/x11-toolkits/fox10/files/patch-ad
@@ -1,15 +1,15 @@
---- configure.orig Wed Apr 4 13:25:59 2001
-+++ configure Mon Apr 30 00:42:01 2001
-@@ -839,8 +839,6 @@
+--- configure.orig Thu Apr 5 05:25:59 2001
++++ configure Tue May 1 01:34:27 2001
+@@ -839,7 +839,7 @@
-CXXFLAGS=""
--
++#CXXFLAGS=""
+
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:846: checking whether ${MAKE-make} sets \${MAKE}" >&5
- set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
-@@ -3440,9 +3438,12 @@
+@@ -3440,9 +3440,12 @@
echo "$ac_t""$enable_release" 1>&6
if test "x$enable_release" = "xyes" ; then
@@ -17,7 +17,7 @@
+CXXFLAGS="${CXXFLAGS} -DNDEBUG"
if test "${GXX}" = "yes" ; then
-CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
-+CXXFLAGS="${CXXFLAGS}"
++#CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
+if test "${with_profiling}" = ""; then
+CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer"
+fi
diff --git a/x11-toolkits/fox14/Makefile b/x11-toolkits/fox14/Makefile
index f91b89a6..3354a49 100644
--- a/x11-toolkits/fox14/Makefile
+++ b/x11-toolkits/fox14/Makefile
@@ -32,6 +32,7 @@ PATCHVERSION= ${PORTVERSION}
USE_MESA= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
CONFIGURE_ARGS+=--with-opengl=mesa --with-x
.if defined(NO_SHM)
CONFIGURE_ARGS+=--with-shm=no
@@ -53,6 +54,9 @@ MAKE_ENV+= LT_CURRENT="${SHLIB_MAJ}" LT_REVISION="${SHLIB_MIN}"
PLIST_SUB+= LIBVER="${SHLIB_MAJ}"
MAN1= reswrap.1
+# Uncomment this to turn the default optimization flags on.
+CXXFLAGS= -O2 -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations
+
.if defined(WITH_XUNICODE)
post-extract:
cd ${WRKSRC} && ${LN} -s ${X11BASE}/include/xunicode
diff --git a/x11-toolkits/fox14/files/patch-ad b/x11-toolkits/fox14/files/patch-ad
index 551b79b..9ec0f21 100644
--- a/x11-toolkits/fox14/files/patch-ad
+++ b/x11-toolkits/fox14/files/patch-ad
@@ -1,15 +1,15 @@
---- configure.orig Wed Apr 4 13:25:59 2001
-+++ configure Mon Apr 30 00:42:01 2001
-@@ -839,8 +839,6 @@
+--- configure.orig Thu Apr 5 05:25:59 2001
++++ configure Tue May 1 01:34:27 2001
+@@ -839,7 +839,7 @@
-CXXFLAGS=""
--
++#CXXFLAGS=""
+
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:846: checking whether ${MAKE-make} sets \${MAKE}" >&5
- set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
-@@ -3440,9 +3438,12 @@
+@@ -3440,9 +3440,12 @@
echo "$ac_t""$enable_release" 1>&6
if test "x$enable_release" = "xyes" ; then
@@ -17,7 +17,7 @@
+CXXFLAGS="${CXXFLAGS} -DNDEBUG"
if test "${GXX}" = "yes" ; then
-CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
-+CXXFLAGS="${CXXFLAGS}"
++#CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
+if test "${with_profiling}" = ""; then
+CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer"
+fi
OpenPOWER on IntegriCloud