diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2012-12-24 13:25:33 +0000 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2012-12-24 13:25:33 +0000 |
commit | d406742de463cadea288dbc928493341d9cd041c (patch) | |
tree | f0a40760e435184b41522904ace76cff2071a123 /devel/gccmakedep | |
parent | b5668a2d41ebe2323b3e233fdea40b2a8608d1f2 (diff) | |
download | ports-d406742de463cadea288dbc928493341d9cd041c.tar.gz ports-d406742de463cadea288dbc928493341d9cd041c.zip |
Notes
Diffstat (limited to 'devel/gccmakedep')
-rw-r--r-- | devel/gccmakedep/Makefile | 16 |
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> |