diff options
author | markd <markd> | 2004-03-01 11:37:15 +0000 |
---|---|---|
committer | markd <markd> | 2004-03-01 11:37:15 +0000 |
commit | bb2a2713bb3d8bbfecba937a076d9d42af69cdb9 (patch) | |
tree | f3444776b5075e1ba8be2bd83b5651fbf6a91ed2 /graphics/kdegraphics3 | |
parent | 244d833f153b22a6fda739fcebb9083e667b4c4d (diff) | |
download | pkgsrc-bb2a2713bb3d8bbfecba937a076d9d42af69cdb9.tar.gz |
PLIST tweak when using an old X tree.
Diffstat (limited to 'graphics/kdegraphics3')
-rw-r--r-- | graphics/kdegraphics3/Makefile | 10 | ||||
-rw-r--r-- | graphics/kdegraphics3/PLIST | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/graphics/kdegraphics3/Makefile b/graphics/kdegraphics3/Makefile index 0118d2ac503..e9157f9ca46 100644 --- a/graphics/kdegraphics3/Makefile +++ b/graphics/kdegraphics3/Makefile @@ -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 @@ CONFIGURE_ARGS+= --with-imlib-config=${X11PREFIX}/bin # 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 --git a/graphics/kdegraphics3/PLIST b/graphics/kdegraphics3/PLIST index b8922d8bb40..80261c3378f 100644 --- a/graphics/kdegraphics3/PLIST +++ b/graphics/kdegraphics3/PLIST @@ -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/scanparams.h 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 |