aboutsummaryrefslogtreecommitdiff
path: root/devel/gccmakedep
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2012-12-24 13:25:33 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2012-12-24 13:25:33 +0000
commitd406742de463cadea288dbc928493341d9cd041c (patch)
treef0a40760e435184b41522904ace76cff2071a123 /devel/gccmakedep
parentb5668a2d41ebe2323b3e233fdea40b2a8608d1f2 (diff)
downloadports-d406742de463cadea288dbc928493341d9cd041c.tar.gz
ports-d406742de463cadea288dbc928493341d9cd041c.zip
Notes
Diffstat (limited to 'devel/gccmakedep')
-rw-r--r--devel/gccmakedep/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/gccmakedep/Makefile b/devel/gccmakedep/Makefile
index b55bebf2c4d5..cdd6ee2ddc2b 100644
--- a/devel/gccmakedep/Makefile
+++ b/devel/gccmakedep/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gccmakedep
-# Date created: Nov 18 2006
-# Whom: Dave Grochowski
-#
+# Created by: Dave Grochowski
# $FreeBSD$
-#
PORTNAME= gccmakedep
PORTVERSION= 1.0.2
@@ -18,4 +14,12 @@ MAN1= gccmakedep.1
PLIST_FILES= bin/gccmakedep
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(CC) && ${CC:T:M*clang*} == "clang" || ${OSVERSION} >= 1000024
+BUILD_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp
+RUN_DEPENDS+= ucpp:${PORTSDIR}/devel/ucpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="ucpp -s"
+.endif
+
+.include <bsd.port.post.mk>