summaryrefslogtreecommitdiff
path: root/devel/imake/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-07-02 12:12:48 +0000
committerjoerg <joerg@pkgsrc.org>2013-07-02 12:12:48 +0000
commitb02759fc3e782bb0fb158f27977fad6ea1aa2c80 (patch)
treea8f11d4027f65f066a1d1f330e1211425ad2a92c /devel/imake/Makefile
parent1f5d7e9ededb9a35d354e96ddc02ef9fee11cb16 (diff)
downloadpkgsrc-b02759fc3e782bb0fb158f27977fad6ea1aa2c80.tar.gz
Always use tradcpp for preprocessing. Bump revision.
Diffstat (limited to 'devel/imake/Makefile')
-rw-r--r--devel/imake/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/devel/imake/Makefile b/devel/imake/Makefile
index 16c42dcb5f8..7875c8de7b1 100644
--- a/devel/imake/Makefile
+++ b/devel/imake/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2012/10/31 11:17:06 asau Exp $
+# $NetBSD: Makefile,v 1.16 2013/07/02 12:12:48 joerg Exp $
DISTNAME= imake-1.0.5
+PKGREVISION= 1
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=util/}
EXTRACT_SUFX= .tar.bz2
@@ -12,25 +13,16 @@ COMMENT= Imake and other utilities from modular X.org
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config makedepend:run
+DEPENDS+= tradcpp-[0-9]*:../../devel/tradcpp
DEPENDS+= xorg-cf-files>=1.0.3:../../x11/xorg-cf-files
CONFIGURE_ENV+= APP_MAN_SUFFIX=1
CONFIGURE_ENV+= HAS_PERL=no
+CONFIGURE_ENV+= RAWCPP=${PREFIX}/bin/tradcpp
+CPPFLAGS+= -DRAWCPP=\"${PREFIX}/bin/tradcpp\"
REPLACE_SH+= mkhtmlindex.sh
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-# clang's cpp destroys whitespace, particularly hard tabs in makefiles,
-# which is fatal for imake.
-DEPENDS+=ucpp-[0-9]*:../../devel/ucpp
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="ucpp -s"
-
-.elif empty(PKGSRC_COMPILER:Mgcc)
-CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
-
-.endif
-
# This required with some C preprocessors and not others,
# but is harmless when not required.
SUBST_CLASSES+= xmkmf