pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xcursorgen Unsurprisingly, xcursorgen needs to dep...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/097303fcdd83
branches:  trunk
changeset: 495476:097303fcdd83
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jun 10 22:47:36 2005 +0000

description:
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:

 x11/xcursorgen/Makefile |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (33 lines):

diff -r 08038bc33aa6 -r 097303fcdd83 x11/xcursorgen/Makefile
--- a/x11/xcursorgen/Makefile   Fri Jun 10 20:53:54 2005 +0000
+++ b/x11/xcursorgen/Makefile   Fri Jun 10 22:47:36 2005 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index