1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/x11/libX11/Makefile
Niclas Zeising 7761aefad2 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 <jakub_lach@mailplus.pl> (PR)
Patch by:       me (with ideas from PR and mailing list)
Tested by:      Jakub Lach <jakub_lach@mailplus.pl>, me
Approved by:    kwm (mentor)
Obtained from:  xorg staging area
2012-07-29 18:26:00 +00:00

40 lines
994 B
Makefile

# New ports collection makefile for: libX11
# Date Created: 28 Oct, 2003
# Whom: Eric Anholt <anholt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libX11
PORTVERSION= 1.4.4
PORTEPOCH= 1
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
COMMENT= X11 library
LICENSE= MIT
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/xcb.pc:${PORTSDIR}/x11/libxcb \
${LOCALBASE}/share/aclocal/xorg-macros.m4:${PORTSDIR}/devel/xorg-macros
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
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
.include <bsd.port.mk>