d26cf36e57
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
26 lines
676 B
Makefile
26 lines
676 B
Makefile
# $NetBSD: Makefile,v 1.18 2006/12/27 13:37:44 joerg Exp $
|
|
|
|
DISTNAME= xcursorgen-4.3.0
|
|
PKGREVISION= 4
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= xsrc-manager@NetBSD.org
|
|
HOMEPAGE= http://www.xfree86.org/
|
|
COMMENT= Create an X cursor file from a collection of PNG images
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//}
|
|
USE_IMAKE= YES
|
|
|
|
LIBPNG= -L${BUILDLINK_PREFIX.png}/lib \
|
|
${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.png}/lib \
|
|
-lpng
|
|
|
|
MAKE_FLAGS+= LIBPNGLIB=${LIBPNG:Q}
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|