Do not quote constant strings compared with ${ARCH}. [1] Remove

some commented (and thus disabled) logic around this on the way.

This brings the active lang/gcc* release-based ports in sync with
their respective lang/gcc*-devel twins.

PR:		221905 [1]
Submitted by:	linimon [1]
This commit is contained in:
Gerald Pfeifer 2017-09-17 17:51:24 +00:00
parent 09b025405d
commit aa36701d51
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=450008
3 changed files with 6 additions and 12 deletions

View file

@ -62,7 +62,7 @@ CONFIGURE_ARGS+= --disable-multilib
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
.if ${ARCH} == amd64
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.endif
@ -70,7 +70,7 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
CONFIGURE_ENV+= UNAME_m="powerpc64"
.endif
.if ${ARCH} == "aarch64" || ${ARCH} == "armv6"
.if ${ARCH} == aarch64 || ${ARCH} == armv6
. if ${COMPILER_TYPE} == clang
. if empty(PORT_OPTIONS:MBOOTSTRAP)
MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512
@ -116,10 +116,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
# Release tarballs (as opposed to snapshots) always carry this.
#.if ${ARCH} == "amd64" || ${ARCH} == "i386"
INFO+= gcc${SUFFIX}/libquadmath \
gcc${SUFFIX}/libitm
#.endif
SUB_FILES= pkg-message
SUB_LIST+= TARGLIB=${TARGLIB}

View file

@ -62,7 +62,7 @@ CONFIGURE_ARGS+= --disable-multilib
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
.if ${ARCH} == amd64
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.endif
@ -71,7 +71,7 @@ CONFIGURE_ENV+= UNAME_m="powerpc64"
USE_GCC= 5 # Cannot require ourselves, needs to be at least 4.9.
.endif
.if ${ARCH} == "aarch64" || ${ARCH} == "armv6"
.if ${ARCH} == aarch64 || ${ARCH} == armv6
. if ${COMPILER_TYPE} == clang
. if empty(PORT_OPTIONS:MBOOTSTRAP)
MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512
@ -117,10 +117,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
# Release tarballs (as opposed to snapshots) always carry this.
#.if ${ARCH} == "amd64" || ${ARCH} == "i386"
INFO+= gcc${SUFFIX}/libquadmath \
gcc${SUFFIX}/libitm
#.endif
SUB_FILES= pkg-message
SUB_LIST+= TARGLIB=${TARGLIB}

View file

@ -51,7 +51,7 @@ CONFIGURE_ARGS+= --disable-multilib
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
.if ${ARCH} == amd64
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
.endif
@ -60,7 +60,7 @@ CONFIGURE_ENV+= UNAME_m="powerpc64"
USE_GCC= yes
.endif
.if ${ARCH} == "armv6"
.if ${ARCH} == armv6
. if ${COMPILER_TYPE} == clang
. if empty(PORT_OPTIONS:MBOOTSTRAP)
MAKE_ARGS+=CXXFLAGS+=-fbracket-depth=512
@ -106,10 +106,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
# Release tarballs (as opposed to snapshots) always carry this.
#.if ${ARCH} == "amd64" || ${ARCH} == "i386"
INFO+= gcc${SUFFIX}/libquadmath \
gcc${SUFFIX}/libitm
#.endif
SUB_FILES= pkg-message
SUB_LIST+= TARGLIB=${TARGLIB}