[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / pixman

Annotation of pkgsrc/x11/pixman/Makefile, Revision 1.19

1.19    ! bjs         1: # $NetBSD: Makefile,v 1.18 2008/09/06 20:09:15 bjs Exp $
1.1       bjs         2: #
                      3:
1.18      bjs         4: DISTNAME=      pixman-0.11.10
1.1       bjs         5: CATEGORIES=    x11
1.11      tnn         6: MASTER_SITES=  ${MASTER_SITE_XORG:=lib/}
1.1       bjs         7: EXTRACT_SUFX=  .tar.bz2
                      8:
                      9: MAINTAINER=    bjs@NetBSD.org
                     10: HOMEPAGE=      http://xorg.freedesktop.org/
                     11: COMMENT=       Library of low-level pixel manipulation routines
                     12:
                     13: PKG_DESTDIR_SUPPORT=   user-destdir
                     14:
                     15: GNU_CONFIGURE= yes
                     16: USE_LIBTOOL=   yes
1.18      bjs        17: USE_TOOLS+=    pkg-config perl diff awk
                     18: ###
                     19: ### XXX Quiet, please!
                     20: ###
                     21: .if empty(USE_TOOLS:Mauto*)
1.19    ! bjs        22: CONFIGURE_ENV+=        AUTOCONF=${TRUE:Q}
        !            23: CONFIGURE_ENV+=        AUTOHEADER=${TRUE:Q}
        !            24: CONFIGURE_ENV+=        ACLOCAL=${TRUE:Q}
1.18      bjs        25: CONFIGURE_ENV+=        AUTOMAKE=${TRUE:Q}
                     26: .endif
1.17      bjs        27:
1.1       bjs        28: PKGCONFIG_OVERRIDE+=   pixman-1.pc.in
1.16      bjs        29: PKGCONFIG_OVERRIDE+=   pixman-1-uninstalled.pc.in
1.12      bjs        30: ###
                     31: ### XXX The configure script is written to fail if it detects gcc<4.0
1.13      bjs        32: ###    for lack of -fvisibility=hidden. In keeping with the pkgsrc
                     33: ###    tradition of portability, we'll opt to use libtool to export
1.12      bjs        34: ###    the desired symbols, hiding the rest.
                     35: ###
1.18      bjs        36: ###    To regenerate the libtool symfile, invoke the 'gen-symfile'
                     37: ###    target, making sure to define PKG_DEVELOPER.  This target
                     38: ###    requires nm, awk, and tee.  The new symfile will be in
                     39: ###    ${WRKDIR}.
1.12      bjs        40: ###
1.14      bjs        41: MAKE_ENV+=     PIXMAN_SYMFILE=${PIXMAN_SYMFILE:Q}
1.13      bjs        42: PIXMAN_SYMFILE=        ${WRKDIR}/pixman.sym
1.1       bjs        43:
1.18      bjs        44: post-extract:
                     45:        ${CP} ${FILESDIR}/pixman.sym ${WRKDIR}
1.15      tnn        46:
1.18      bjs        47: .if defined(NM) && defined(PKG_DEVELOPER)
                     48: gen-symfile: build
                     49:        ${NM} -DP ${WRKSRC}/pixman/.libs/libpixman-1.so |       \
                     50:        ${AWK} '/^pixman/ { print $$1 }' |                      \
                     51:        ${TOOLS_PLATFORM.tee} > ${WRKDIR}/pixman.sym &&         \
                     52:        ${DIFF} ${FILESDIR}/pixman.sym ${WRKDIR}/pixman.sym
1.15      tnn        53: .endif
                     54:
1.1       bjs        55: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>