summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-09-26 09:55:39 +0000
committerjperkin <jperkin>2012-09-26 09:55:39 +0000
commit186c8d99f880f7c10dac3e1dbb011147bc872705 (patch)
tree43001a3ef4157c8506aec088accb2e13357aac94 /x11
parent387f2499006903d83ea69d513833d284647050b8 (diff)
downloadpkgsrc-186c8d99f880f7c10dac3e1dbb011147bc872705.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')
-rw-r--r--x11/kde-runtime4/Makefile8
-rw-r--r--x11/kde-runtime4/PLIST6
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