diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-09-26 09:55:39 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-09-26 09:55:39 +0000 |
commit | e3bd7823dc872ce3619b6fa3cba486b98fbc2449 (patch) | |
tree | 43001a3ef4157c8506aec088accb2e13357aac94 /x11/kde-runtime4 | |
parent | f983f11dbde9f4ab5a812a9cdac2a463414f9518 (diff) | |
download | pkgsrc-e3bd7823dc872ce3619b6fa3cba486b98fbc2449.tar.gz |
A couple of files are only installed if either 'md5sum' or 'md5' are
available. For now, just remove them from the PLIST on Solaris. We
may want to make md5 a tool, or use '/usr/bin/digest -a md5' in the
future.
Fixes package on Solaris.
Diffstat (limited to 'x11/kde-runtime4')
-rw-r--r-- | x11/kde-runtime4/Makefile | 8 | ||||
-rw-r--r-- | x11/kde-runtime4/PLIST | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/x11/kde-runtime4/Makefile b/x11/kde-runtime4/Makefile index 909cae504fc..011510bd523 100644 --- a/x11/kde-runtime4/Makefile +++ b/x11/kde-runtime4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2012/09/22 13:48:21 ryoon Exp $ +# $NetBSD: Makefile,v 1.11 2012/09/26 09:55:39 jperkin Exp $ DISTNAME= kde-runtime-${_KDE_VERSION} PKGNAME= ${DISTNAME:S/-4/4-4/} @@ -20,6 +20,12 @@ USE_TOOLS+= gmake .include "options.mk" +# Some files are conditional on 'md5sum' or 'md5' being present. +PLIST_VARS+= md5 +.if ${OPSYS} != "SunOS" +PLIST.md5= yes +.endif + SUBST_CLASSES+= htdig SUBST_STAGE.htdig= post-patch SUBST_MESSAGE.htdig= Fix htdig paths. diff --git a/x11/kde-runtime4/PLIST b/x11/kde-runtime4/PLIST index 08effc5c84e..85bf7e773e2 100644 --- a/x11/kde-runtime4/PLIST +++ b/x11/kde-runtime4/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2012/06/16 04:45:38 markd Exp $ +@comment $NetBSD: PLIST,v 1.4 2012/09/26 09:55:39 jperkin Exp $ bin/kcmshell4 bin/kde-cp bin/kde-mv @@ -143,7 +143,7 @@ lib/kde4/kio_cgi.so lib/kde4/kio_desktop.so lib/kde4/kio_filter.so lib/kde4/kio_finger.so -lib/kde4/kio_fish.so +${PLIST.md5}lib/kde4/kio_fish.so lib/kde4/kio_floppy.so lib/kde4/kio_info.so lib/kde4/kio_man.so @@ -804,7 +804,7 @@ share/kde4/services/emoticons.desktop share/kde4/services/exrthumbnail.desktop share/kde4/services/filetypes.desktop share/kde4/services/finger.protocol -share/kde4/services/fish.protocol +${PLIST.md5}share/kde4/services/fish.protocol share/kde4/services/fixhosturifilter.desktop share/kde4/services/floppy.protocol share/kde4/services/gzip.protocol |