aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc48
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2012-07-30 20:47:27 +0800
committergerald <gerald@FreeBSD.org>2012-07-30 20:47:27 +0800
commitb3a3c6895e37915a62860ac7889d8625d52688f1 (patch)
treedf7941fb4bbafd96dd56943aa7d5eaaff0089d95 /lang/gcc48
parentecd2bc82a13f927295d1f816eb57164827a196e8 (diff)
downloadfreebsd-ports-gnome-b3a3c6895e37915a62860ac7889d8625d52688f1.tar.gz
freebsd-ports-gnome-b3a3c6895e37915a62860ac7889d8625d52688f1.tar.zst
freebsd-ports-gnome-b3a3c6895e37915a62860ac7889d8625d52688f1.zip
Convert to the new options framework.
On the way update to the 20120729 snapshot of GCC 4.8.0.
Diffstat (limited to 'lang/gcc48')
-rw-r--r--lang/gcc48/Makefile13
-rw-r--r--lang/gcc48/distinfo4
2 files changed, 8 insertions, 9 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 6a7d140fab80..6cc7f49dfa39 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= gcc
-PORTVERSION= 4.8.0.20120722
+PORTVERSION= 4.8.0.20120729
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
@@ -40,14 +40,13 @@ MAKE_JOBS_SAFE= yes
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure
-OPTIONS= JAVA "Enable the Java frontend (i386 and amd64 only)" on
+OPTIONS_DEFINE_i386= JAVA
+OPTIONS_DEFINE_amd64= JAVA
+OPTIONS_DEFAULT_i386= JAVA
+OPTIONS_DEFAULT_amd64= JAVA
.include <bsd.port.pre.mk>
-.if ${ARCH} != i386 && ${ARCH} != amd64
-WITHOUT_JAVA= yes
-.endif
-
.if ${ARCH} == "amd64"
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
.else
@@ -99,7 +98,7 @@ INFO+= gcc${SUFFIX}/libquadmath \
gcc${SUFFIX}/libitm
.endif
-.if ! defined(WITHOUT_JAVA)
+.if ${PORT_OPTIONS:MJAVA}
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier
CONFIGURE_ARGS+=--enable-languages=c,c++,objc,fortran,java
diff --git a/lang/gcc48/distinfo b/lang/gcc48/distinfo
index ee30667f2d9e..8eb4322bfefd 100644
--- a/lang/gcc48/distinfo
+++ b/lang/gcc48/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gcc-4.8-20120722.tar.bz2) = 7c96aed0184f22dcc14f2be5e5565d4ac25491510f0c3e117dab7ceb65ec0889
-SIZE (gcc-4.8-20120722.tar.bz2) = 79251409
+SHA256 (gcc-4.8-20120729.tar.bz2) = 66de6ea71495fdc6beac55c347f9825e43ace4d0a31ce4b1c826530d089bf779
+SIZE (gcc-4.8-20120729.tar.bz2) = 79244226