summaryrefslogtreecommitdiff
path: root/x11/xcursorgen/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-10 22:47:36 +0000
committerjlam <jlam@pkgsrc.org>2005-06-10 22:47:36 +0000
commit15e797fb2a9ac4426b272d448f91b33876fb7bd9 (patch)
tree7eb46e13474899c28087d8ad156efa68842207b3 /x11/xcursorgen/Makefile
parentffb410c3dbd3595d8066404d23f57d418cb07923 (diff)
downloadpkgsrc-15e797fb2a9ac4426b272d448f91b33876fb7bd9.tar.gz
Unsurprisingly, xcursorgen needs to depend on xcursor. Remove the
outdated check for the presence of xcursor and fix the png link options. Bump the PKGREVISION to 2.
Diffstat (limited to 'x11/xcursorgen/Makefile')
-rw-r--r--x11/xcursorgen/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/x11/xcursorgen/Makefile b/x11/xcursorgen/Makefile
index 80569dfc7a5..7200e6d9220 100644
--- a/x11/xcursorgen/Makefile
+++ b/x11/xcursorgen/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2005/04/11 21:48:14 tv Exp $
+# $NetBSD: Makefile,v 1.14 2005/06/10 22:47:36 jlam Exp $
DISTNAME= xcursorgen-4.3.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
@@ -13,14 +13,13 @@ COMMENT= Create an X cursor file from a collection of PNG images
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//}
USE_IMAKE= YES
-.include "../../mk/bsd.prefs.mk"
+LIBPNG= -L${BUILDLINK_PREFIX.png}/lib \
+ ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.png}/lib \
+ -lpng
-.if !exists(${X11BASE}/bin/xcursor-config)
-PKG_SKIP_REASON="This package requires XFree86 4.3.0 or newer."
-.endif
+MAKE_FLAGS+= LIBPNGLIB=${LIBPNG:Q}
.include "../../graphics/png/buildlink3.mk"
-
-MAKE_ENV+= LOCAL_LDFLAGS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.png_DEFAULT}/lib"
+.include "../../x11/xcursor/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"