aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2009-07-25 21:57:41 +0800
committerbsam <bsam@FreeBSD.org>2009-07-25 21:57:41 +0800
commit2212b18b3d12a54db2104e9abd87aba4642daf58 (patch)
treeb99e20d356ee1025ee20f595f7e71bc80ea3c053
parentbd59e6a96ee91d52b2d44f9407558ed11a7b6ad2 (diff)
downloadfreebsd-ports-gnome-2212b18b3d12a54db2104e9abd87aba4642daf58.tar.gz
freebsd-ports-gnome-2212b18b3d12a54db2104e9abd87aba4642daf58.tar.zst
freebsd-ports-gnome-2212b18b3d12a54db2104e9abd87aba4642daf58.zip
Use GCC=4.3 to fix build at FreeBSD-amd64 (the port doesn't
compile with other gcc versions). Do not bump PORTREVISION. Reported by: QAT
-rw-r--r--comms/gammu-devel/Makefile4
-rw-r--r--comms/gammu/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile
index afe8612a1f5f..53d9265f0cbe 100644
--- a/comms/gammu-devel/Makefile
+++ b/comms/gammu-devel/Makefile
@@ -21,6 +21,10 @@ CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
USE_CMAKE= yes
USE_GNOME= pkgconfig
+.if (${ARCH} == "amd64")
+USE_GCC= 4.3
+.endif
+
.if defined(WITH_PYTHON_GAMMU)
USE_PYTHON= YES
PLIST_SUB= WITH_PYTHON_GAMMU=""
diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile
index afe8612a1f5f..53d9265f0cbe 100644
--- a/comms/gammu/Makefile
+++ b/comms/gammu/Makefile
@@ -21,6 +21,10 @@ CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
USE_CMAKE= yes
USE_GNOME= pkgconfig
+.if (${ARCH} == "amd64")
+USE_GCC= 4.3
+.endif
+
.if defined(WITH_PYTHON_GAMMU)
USE_PYTHON= YES
PLIST_SUB= WITH_PYTHON_GAMMU=""