diff options
Diffstat (limited to 'security/opensc/patches/patch-aa')
-rw-r--r-- | security/opensc/patches/patch-aa | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/security/opensc/patches/patch-aa b/security/opensc/patches/patch-aa index 2c69de0150e..3bf256d0494 100644 --- a/security/opensc/patches/patch-aa +++ b/security/opensc/patches/patch-aa @@ -1,21 +1,19 @@ -$NetBSD: patch-aa,v 1.3 2012/11/30 14:44:34 gdt Exp $ +$NetBSD: patch-aa,v 1.4 2014/03/14 20:49:56 gdt Exp $ Disable installation of config file, because pkgsrc installs config files as examples. ---- etc/Makefile.in.orig 2011-07-15 10:47:01.000000000 +0000 -+++ etc/Makefile.in -@@ -466,12 +466,7 @@ opensc.conf: opensc.conf.in force - -e 's|@pkgdatadir[@]|$(pkgdatadir)|g' \ - -e 's|@DEFAULT_PCSC_PROVIDER[@]|$(DEFAULT_PCSC_PROVIDER)|g' \ +--- etc/Makefile.am.orig 2012-12-04 14:43:40.000000000 +0000 ++++ etc/Makefile.am +@@ -22,11 +22,3 @@ opensc.conf: opensc.conf.in force + -e 's|@DEFAULT_SM_MODULE[@]|$(DEFAULT_SM_MODULE)|g' \ + -e 's|@DEBUG_FILE[@]|$(DEBUG_FILE)|g' \ < $< > $@ --install-exec-hook: install-sysconfDATA opensc.conf +- +-install-exec-hook: opensc.conf +- $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" - if [ -f "$(DESTDIR)$(sysconfdir)/opensc.conf" ]; then \ - $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \ - else \ - $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \ - fi -+install-exec-hook: - - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. |