Index: Makefile =================================================================== diff --git a/head/devel/imake/Makefile b/head/devel/imake/Makefile --- a/head/devel/imake/Makefile (revision 320100) +++ b/head/devel/imake/Makefile (working copy) @@ -9,23 +9,22 @@ MAINTAINER= x11@FreeBSD.org COMMENT= Imake and other utilities from X.Org +BUILD_DEPENDS= ucpp:${PORTSDIR}/ucpp RUN_DEPENDS= gccmakedep:${PORTSDIR}/devel/gccmakedep \ makedepend:${PORTSDIR}/devel/makedepend \ - ${LOCALBASE}/lib/X11/config/xorg.cf:${PORTSDIR}/x11/xorg-cf-files + ${LOCALBASE}/lib/X11/config/xorg.cf:${PORTSDIR}/x11/xorg-cf-files \ + ucpp:${PORTSDIR}/devel/ucpp +USES= shebangfix USE_PERL5= yes +SHEBANG_FILES= mkhtmlindex.pl + XORG_CAT= util USE_XORG= xproto -# clang's cpp destroys whitespace, particularly hard tabs in makefiles, -# which is fatal for imake. -CPPFLAGS+= -DDEFAULT_CC=\\\"gcc\\\" +CONFIGURE_ENV+= ac_cv_path_RAWCPP="ucpp -s" -.ifdef USE_IMAKE -.error You have `USE_IMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again. -.endif - MAN1= ccmakedep.1 \ cleanlinks.1 \ imake.1 \ @@ -36,16 +35,4 @@ revpath.1 \ xmkmf.1 -post-patch: - @${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/mkhtmlindex.pl - @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' ${WRKSRC}/configure - -.include - -# Attempt to force use of GNU cpp, if it is installed as /usr/bin/gcpp. -.if (${OSVERSION} >= 900506 && ${OSVERSION} < 1000000) || \ - ${OSVERSION} >= 1000010 -CONFIGURE_ENV+= ac_cv_path_RAWCPP="gcpp" -.endif - -.include +.include