pkgsrc/x11/pixman/Makefile
drochner 5ac74e7d14 re-add a workaround for a clipping related bug in Xorg<=1.6.
This was removed upstream but is still needed for pkgsrc's
modular-xorg.
Fixes PR pkg/45509 by Francois Tigeot.
Thankd for Francois for providing a pointer to the
offending change.
bump PKGREV
2011-10-27 16:52:51 +00:00

46 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2011/10/27 16:52:51 drochner Exp $
DISTNAME= pixman-0.22.2
PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= Library of low-level pixel manipulation routines
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config perl
###
### XXX Quiet, please!
###
.if empty(USE_TOOLS:Mauto*)
CONFIGURE_ENV+= AUTOCONF=${TRUE:Q}
CONFIGURE_ENV+= AUTOHEADER=${TRUE:Q}
CONFIGURE_ENV+= ACLOCAL=${TRUE:Q}
CONFIGURE_ENV+= AUTOMAKE=${TRUE:Q}
.endif
PKGCONFIG_OVERRIDE+= pixman-1.pc.in
PKGCONFIG_OVERRIDE+= pixman-1-uninstalled.pc.in
###
### XXX The configure script is written to fail if it detects gcc<4.0
### for lack of -fvisibility=hidden. In keeping with the pkgsrc
### tradition of portability, we'll opt to use libtool to export
### the desired symbols, hiding the rest.
###
### Please, do not forget to ensure the currency of this file!
MAKE_ENV+= PIXMAN_SYMFILE=${PIXMAN_SYMFILE:Q}
PIXMAN_SYMFILE= ${WRKDIR}/pixman.sym
post-extract:
${CP} ${FILESDIR}/pixman.sym ${WRKDIR}
${CP} ${FILESDIR}/solaris-hwcap.mapfile ${WRKSRC}/pixman
.include "../../mk/bsd.pkg.mk"