aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-05-23 03:31:39 +0800
committerbrooks <brooks@FreeBSD.org>2013-05-23 03:31:39 +0800
commit51177cda54346151630b135f821c8ee037de083a (patch)
tree2ac8a0f38109ff36d76fb916be52283a74b9c4a1 /lang
parent9fafc448a81c46ca7155366bb73ba33adb27febd (diff)
downloadfreebsd-ports-gnome-51177cda54346151630b135f821c8ee037de083a.tar.gz
freebsd-ports-gnome-51177cda54346151630b135f821c8ee037de083a.tar.zst
freebsd-ports-gnome-51177cda54346151630b135f821c8ee037de083a.zip
Add a new option MANPAGES to allow man pages to be supressed. [0]
Remove USE_GCC=4.2+ as all supported versions have an acceptable version of gcc by default.[0] Remove the long unused MAINTAINER_MODE variable. Submitted by: tijl [0]
Diffstat (limited to 'lang')
-rw-r--r--lang/clang-devel/Makefile26
1 files changed, 9 insertions, 17 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile
index 7baaa5efa0ec..1b95748e3419 100644
--- a/lang/clang-devel/Makefile
+++ b/lang/clang-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clang
PORTVERSION= 3.4.r${SVN_REV}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -33,16 +33,12 @@ INSTALL_WRKSRC= ${WRKSRC}/tools/clang
BUILD_DEPENDS+= llvm-devel>=${PORTVERSION}:${PORTSDIR}/devel/llvm-devel
RUN_DEPENDS+= llvm-devel>=${PORTVERSION}:${PORTSDIR}/devel/llvm-devel
-.if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE)
+.if defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu
.endif
-.if defined(MAINTAINER_MODE)
-BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c
-.endif
GNU_CONFIGURE= yes
USE_BZIP2= yes
-USE_GCC= 4.2+
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_PERL5= yes
@@ -59,16 +55,20 @@ OPTIONS_DEFINE= ASSERTS DOCS MIPS_FPHACK
ASSERTS_DESC= Enable assertions (thread unsafe)
MIPS_FPHACK_DESC= MIPS long double hack (breaks ABI)
+CONFIGURE_ARGS+= --enable-optimized
+
MAN1= clang.1
PLIST_SUB+= CLANG_RELEASE=${CLANG_RELEASE}
.include <bsd.port.options.mk>
-.if defined(MAINTAINER_MODE)
-CONFIGURE_ARGS+= --with-f2c=${LOCALBASE}
+.if ${PORT_OPTIONS:MASSERTS}
+CONFIGURE_ARGS+= --enable-assertions
+RELTYPE= Release+Asserts
.else
-CONFIGURE_ARGS+= --enable-optimized
+CONFIGURE_ARGS+= --disable-assertions
+RELTYPE= Release
.endif
.if ${PORT_OPTIONS:MDOCS}
@@ -77,14 +77,6 @@ CONFIGURE_ARGS+= --enable-docs
CONFIGURE_ARGS+= --disable-docs
.endif
-.if ${PORT_OPTIONS:MASSERTS}
-CONFIGURE_ARGS+= --enable-assertions
-RELTYPE= Release+Asserts
-.else
-CONFIGURE_ARGS+= --disable-assertions
-RELTYPE= Release
-.endif
-
.if ${PORT_OPTIONS:MMIPS_FPHACK}
EXTRA_PATCHES= ${FILESDIR}/mips-long-double-hack.diff
.endif