diff options
author | markd <markd@pkgsrc.org> | 2004-03-01 11:37:15 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-03-01 11:37:15 +0000 |
commit | ede8363adebe7049e3c0c0b4c18f0333cd6f8f58 (patch) | |
tree | f3444776b5075e1ba8be2bd83b5651fbf6a91ed2 | |
parent | 560987a2c516af0ca7f283e4d64dd22bcedacce0 (diff) | |
download | pkgsrc-ede8363adebe7049e3c0c0b4c18f0333cd6f8f58.tar.gz |
PLIST tweak when using an old X tree.
-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 |