pkgsrc/graphics/gdk-pixbuf/Makefile
wiz e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00

24 lines
639 B
Makefile

# $NetBSD: Makefile,v 1.40 2010/06/13 22:44:31 wiz Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
PKGREVISION= 12
COMMENT= The GNOME image loading library
# XXX hopefully there is no x.gnome-config.x in PATH
post-patch:
${SED} -e 's/gnome-config/x.gnome-config.x/g' \
${WRKSRC}/configure >${WRKSRC}/.tmp && \
${MV} ${WRKSRC}/.tmp ${WRKSRC}/configure
${CHMOD} a+x ${WRKSRC}/configure
post-configure:
${SED} -e 's/ doc$$//' ${WRKSRC}/Makefile >${WRKSRC}/.tmp && \
${MV} ${WRKSRC}/.tmp ${WRKSRC}/Makefile
post-install:
${RM} ${DESTDIR}${PREFIX}/lib/gnomecanvaspixbufConf.sh
.include "../../mk/bsd.pkg.mk"