aboutsummaryrefslogtreecommitdiff
path: root/security/openct
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2008-08-28 06:21:53 +0000
committerAlex Dupre <ale@FreeBSD.org>2008-08-28 06:21:53 +0000
commit891670c6210f25aa65f4c4e050ce054a32896a87 (patch)
treeb5e935347ea660f4ab2a9a4c6fd7b8994c0df44c /security/openct
parentff71cfceeb2c3b22636d407bf43ddceb7fee7d22 (diff)
downloadports-891670c6210f25aa65f4c4e050ce054a32896a87.tar.gz
ports-891670c6210f25aa65f4c4e050ce054a32896a87.zip
Cosmetic fixes.
Notes
Notes: svn path=/head/; revision=219366
Diffstat (limited to 'security/openct')
-rw-r--r--security/openct/Makefile3
-rw-r--r--security/openct/files/patch-configure13
2 files changed, 14 insertions, 2 deletions
diff --git a/security/openct/Makefile b/security/openct/Makefile
index 429fe6a897d8..673bf20d6069 100644
--- a/security/openct/Makefile
+++ b/security/openct/Makefile
@@ -28,8 +28,7 @@ SUB_FILES= etoken.conf
CONFIGURE_ENV= LTLIB_CFLAGS="-I${LOCALBASE}/include" \
LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl"
-CONFIGURE_ARGS= --with-ifddir=${PREFIX}/lib/ifd \
- --localstatedir=/var
+CONFIGURE_ARGS= --localstatedir=/var
MAN1= openct-tool.1
diff --git a/security/openct/files/patch-configure b/security/openct/files/patch-configure
new file mode 100644
index 000000000000..bb3e34915e54
--- /dev/null
+++ b/security/openct/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig 2008-08-28 07:41:50.000000000 +0200
++++ configure 2008-08-28 08:12:37.000000000 +0200
+@@ -4740,8 +4740,8 @@
+ ;;
+ esac
+
+-usrlibdir="/usr/lib${libdir##*/lib}"
+-usrsbindir="/usr/sbin${libdir##*/sbin}"
++usrlibdir=`eval eval eval eval eval echo "${libdir}" | sed "s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
++usrsbindir=`eval eval eval eval eval echo "${sbindir}" | sed "s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
+
+ full_sysconfdir=`eval eval eval eval eval echo "${sysconfdir}" | sed "s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
+ full_localstatedir=`eval eval eval eval eval echo "${localstatedir}" | sed "s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`