Convert to the new options framework.

On the way update to the 20120729 snapshot of GCC 4.8.0.
This commit is contained in:
Gerald Pfeifer 2012-07-30 12:47:27 +00:00
parent 8e1a9e3a0b
commit 1e86b5a214
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301717
2 changed files with 8 additions and 9 deletions

View file

@ -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

View file

@ -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