pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/kdegraphics3 PLIST tweak when using an old X ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90cd1fd0ed0e
branches:  trunk
changeset: 469848:90cd1fd0ed0e
user:      markd <markd%pkgsrc.org@localhost>
date:      Mon Mar 01 11:37:15 2004 +0000

description:
PLIST tweak when using an old X tree.

diffstat:

 graphics/kdegraphics3/Makefile |  10 +++++++++-
 graphics/kdegraphics3/PLIST    |   4 ++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r 576e6869e5f8 -r 90cd1fd0ed0e graphics/kdegraphics3/Makefile
--- a/graphics/kdegraphics3/Makefile    Mon Mar 01 09:57:10 2004 +0000
+++ b/graphics/kdegraphics3/Makefile    Mon Mar 01 11:37:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2004/02/09 14:01:22 seb Exp $
+# $NetBSD: Makefile,v 1.31 2004/03/01 11:37:15 markd Exp $
 
 DISTNAME=      kdegraphics-${_KDE_VERSION}
 PKGREVISION=   1
@@ -20,6 +20,14 @@
 # Ensure we export symbols in the linked shared object.
 LDFLAGS+=              ${EXPORT_SYMBOLS_LDFLAGS}
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && !exists(${X11BASE}/lib/libXxf86vm.so)
+PLIST_SUBST+=          KGAMMA_SUFFIX="a"
+.else
+PLIST_SUBST+=          KGAMMA_SUFFIX="so"
+.endif
+
 .include "../../converters/fribidi/buildlink2.mk"
 .include "../../graphics/tiff/buildlink2.mk"
 .include "../../graphics/glut/buildlink2.mk"
diff -r 576e6869e5f8 -r 90cd1fd0ed0e graphics/kdegraphics3/PLIST
--- a/graphics/kdegraphics3/PLIST       Mon Mar 01 09:57:10 2004 +0000
+++ b/graphics/kdegraphics3/PLIST       Mon Mar 01 11:37:15 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2004/02/09 14:01:22 seb Exp $
+@comment $NetBSD: PLIST,v 1.10 2004/03/01 11:37:15 markd Exp $
 bin/kcolorchooser
 bin/kcoloredit
 bin/kdvi
@@ -194,7 +194,7 @@
 include/scansourcedialog.h
 include/sizeindicator.h
 lib/kde3/kcm_kgamma.la
-lib/kde3/kcm_kgamma.so
+lib/kde3/kcm_kgamma.${KGAMMA_SUFFIX}
 lib/kde3/kcm_kmrml.la
 lib/kde3/kcm_kmrml.so
 lib/kde3/kcm_kviewcanvasconfig.la



Home | Main Index | Thread Index | Old Index