diff options
author | gerald <gerald@FreeBSD.org> | 2013-08-25 07:39:11 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2013-08-25 07:39:11 +0800 |
commit | be519faf4e07d935c7215ac126d7ad15262132eb (patch) | |
tree | 4d9c3dc68dbbc7a668baecbbff86c52e1ceb52c2 | |
parent | 616861017699a00a481a7ea9ee8aa7a8846b7c53 (diff) | |
download | freebsd-ports-gnome-be519faf4e07d935c7215ac126d7ad15262132eb.tar.gz freebsd-ports-gnome-be519faf4e07d935c7215ac126d7ad15262132eb.tar.zst freebsd-ports-gnome-be519faf4e07d935c7215ac126d7ad15262132eb.zip |
Replace VERSIONSTRING by DISTVERSION.
Replace USE_GMAKE by USES=gmake.
-rw-r--r-- | lang/gcc46/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index 97ff06f3f022..623bcb92391b 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -6,7 +6,7 @@ PORTVERSION= 4.6.4 PORTEPOCH= 1 CATEGORIES= lang java MASTER_SITES= ${MASTER_SITE_GCC} -MASTER_SITE_SUBDIR= releases/gcc-${VERSIONSTRING} +MASTER_SITE_SUBDIR= releases/gcc-${DISTVERSION} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 4.6 @@ -23,17 +23,16 @@ BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu CONFLICTS= gcc-4.6.[123]* -# VERSIONSTRING relates to downloads, GCC_VERSION and SUFFIX to names +# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names # of executables and directories once installed. -VERSIONSTRING= ${PORTVERSION} +DISTVERSION= ${PORTVERSION} GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX} ONLY_FOR_ARCHS= amd64 i386 ia64 powerpc sparc64 +USES= bison gmake iconv USE_BINUTILS= yes -USES= bison iconv USE_BZIP2= yes -USE_GMAKE= yes USE_PERL5_BUILD=yes PATCH_WRKSRC= ${SRCDIR} @@ -55,7 +54,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif LANGUAGES:= c,c++,objc,fortran -SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} +SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} |