From 7761aefad2158283f2753be8926f01f87d7876a8 Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Sun, 29 Jul 2012 18:26:00 +0000 Subject: Fix the build of xorg related ports when the base system is compiled with clang as system compiler and cpp is clang cpp (as opposed to GNU cpp). This is done by removing the configure test for cpp completely. Using clang cpp will make some manual pages as well as some scripts get slightly wierd whitespace formatting. However, it does not affect the function of the scripts or the instructions in the manual pages. PR: ports/166373 Submitted by: Jakub Lach (PR) Patch by: me (with ideas from PR and mailing list) Tested by: Jakub Lach , me Approved by: kwm (mentor) Obtained from: xorg staging area --- x11/libX11/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'x11/libX11') diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile index 76826561eb99..7b1f2faf3c34 100644 --- a/x11/libX11/Makefile +++ b/x11/libX11/Makefile @@ -22,6 +22,7 @@ RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/xcb.pc:${PORTSDIR}/x11/libxcb XORG_CAT= lib USE_XORG= bigreqsproto xau xcmiscproto xdmcp xextproto xtrans \ kbproto:both inputproto xf86bigfontproto xproto:both + CONFIGURE_ARGS+= --datadir=${PREFIX}/lib \ --without-xmlto \ --disable-specs @@ -30,6 +31,8 @@ CONFIGURE_ENV+= ac_cv_path_PS2PDF="" .include "${.CURDIR}/manpages" post-patch: + @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \ + ${WRKSRC}/configure @${REINPLACE_CMD} '/^install-data-am:/,/^$$/ \ s/install-specDATA//' ${WRKSRC}/nls/Makefile.in -- cgit v1.2.3