openbsd-ports/security/openct/patches/patch-configure
jasper 4a4c69752f - update openct to 0.6.20
from maintainer douglas santos, with some tweaks by me
2010-09-14 10:31:50 +00:00

13 lines
574 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2010/09/14 10:31:50 jasper Exp $
--- configure.orig Tue Sep 14 11:06:58 2010
+++ configure Tue Sep 14 11:08:22 2010
@@ -13624,7 +13624,7 @@ if test "${enable_usb}" = "yes"; then
OPTIONAL_LIBUSB_LIBS="${LIBUSB_LIBS}"
fi
-OPENCT_SOCKET_PATH='${localstatedir}/run/openct'
+OPENCT_SOCKET_PATH="/var/run/openct"
CPPFLAGS_OPENCT_SOCKET_PATH='-DOPENCT_SOCKET_PATH="\"$(OPENCT_SOCKET_PATH)\""'
CPPFLAGS_OPENCT_CONF_PATH='-DOPENCT_CONF_PATH="\"$(sysconfdir)/openct.conf\""'
CPPFLAGS_OPENCT_MODULES_PATH='-DOPENCT_MODULES_PATH="\"$(ifddir)\""'