pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mate-screensaver: avoid duplicate post-install targets
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Wed May 18 11:53:45 2016 +0200
Changeset: 82c926ae52cc6da6f22e735a55df84c09f6c7550
Modified Files:
mate-screensaver/Makefile
Log Message:
mate-screensaver: avoid duplicate post-install targets
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=82c926ae52cc6da6f22e735a55df84c09f6c7550
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mate-screensaver/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diffs:
diff --git a/mate-screensaver/Makefile b/mate-screensaver/Makefile
index 7e33c96..468da3e 100644
--- a/mate-screensaver/Makefile
+++ b/mate-screensaver/Makefile
@@ -42,7 +42,9 @@ SUBST_VARS.pam-conf= PREFIX
PLIST.pam= yes
-post-install:
+post-install: pamd
+.PHONY: pamd
+pamd:
${TEST} -f ${DESTDIR}${PREFIX}/share/examples/pam.d/mate-screensaver || \
${INSTALL_DATA} ${WRKDIR}/mate-screensaver.pam ${DESTDIR}${PREFIX}/share/examples/pam.d/mate-screensaver
Home |
Main Index |
Thread Index |
Old Index