blob: 189791fc1e1994036ba129f4167496b46d706da9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$NetBSD: patch-aa,v 1.1.1.1 2010/03/13 17:47:56 pettai Exp $
--- Makefile.in.orig 2009-12-22 23:14:34.000000000 +0100
+++ Makefile.in 2009-12-22 23:16:23.000000000 +0100
@@ -256,6 +256,7 @@
softhsmdbdir = @softhsmdbdir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
+EGDIR = @EGDIR@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
@@ -833,11 +834,11 @@
install-data-hook:
- test -d ${sysconfdir} || \
- ${INSTALL} -d ${DESTDIR}${sysconfdir}
- test -f ${sysconfdir}/softhsm.conf || \
- ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${sysconfdir}
- ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${sysconfdir}/softhsm.conf.sample
+ test -d ${EGDIR} || \
+ ${INSTALL} -d ${DESTDIR}${EGDIR}
+ test -f ${EGDIR}/softhsm.conf || \
+ ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${top_builddir}/softhsm.conf ${DESTDIR}${EGDIR}/softhsm.conf.sample
test -d ${softhsmdbdir} || \
${INSTALL} -d -m 700 ${DESTDIR}${softhsmdbdir}
|