security/opensc: Fix sample config install

Error: Missing: %%ETCDIR%%.conf.sample
[...]
Installing opensc-0.19.0...
cp: /usr/local/etc/opensc.conf.sample: No such file or directory

The build uses USES=autoreconf and patching etc/Makefile.in is a
nop.  Patch etc/Makefile.am instead.

Broken in r500489.
This commit is contained in:
Tobias Kortkamp 2019-10-22 11:21:42 +00:00
parent 4c8ffde892
commit 161db1264b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515187
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= opensc
PORTVERSION= 0.19.0
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= https://github.com/OpenSC/OpenSC/releases/download/${PORTVERSION}/

View File

@ -1,6 +1,6 @@
--- etc/Makefile.in.orig 2018-09-13 11:56:07 UTC
+++ etc/Makefile.in
@@ -558,13 +558,7 @@ opensc.conf.example: opensc.conf.example
--- etc/Makefile.am.orig 2018-09-13 11:52:42 UTC
+++ etc/Makefile.am
@@ -32,13 +32,7 @@ opensc.conf.example: opensc.conf.example.in force
install-exec-hook: opensc.conf.example
$(MKDIR_P) "$(DESTDIR)$(sysconfdir)"