X Certificate and Key management is an interface for managing asymetric keys like RSA or DSA. It is intended as a small CA for creation and signing certificates. It uses the OpenSSL library for the cryptographic operations. ok aja@
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
$OpenBSD: patch-configure,v 1.1.1.1 2013/01/23 08:38:53 jasper Exp $
|
|
--- configure.orig Sat May 12 11:37:14 2012
|
|
+++ configure Mon Jan 21 15:03:26 2013
|
|
@@ -27,7 +27,7 @@ export QTDIR="$QTDIR"
|
|
export CFLAGS="${CFLAGS}"
|
|
export LDFLAGS="${LDFLAGS}"
|
|
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
|
|
-export prefix="${prefix}"
|
|
+export prefix="${WRKINST}${PREFIX}"
|
|
export docdir="${docdir}"
|
|
export RC="stop"
|
|
exec $0 $@
|
|
@@ -51,10 +51,10 @@ done
|
|
DIRS="$QTDIR $DIRS /usr /usr/X11R6 /usr/local"
|
|
STDINC="-I/usr/include"
|
|
STDLIB="-L/usr/lib"
|
|
-prefix=${prefix:=/usr/local}
|
|
-CFLAGS=${CFLAGS:=-Wall -ggdb -O2}
|
|
+prefix=${WRKINST}${PREFIX}
|
|
+CFLAGS="${CFLAGS:=-Wall -ggdb -O2} -I/usr/local/include"
|
|
CC=${CC:=gcc}
|
|
-LDFLAGS=""
|
|
+LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
LIBS="-lstdc++"
|
|
LDIRS=
|
|
MOC=moc
|
|
@@ -97,7 +97,7 @@ fi
|
|
|
|
if test -x /sbin/ldconfig; then
|
|
EXTRALIB=$(
|
|
- /sbin/ldconfig -p | sed 's,.* => \(/.*/\)[^/]*\.so.*,\1,' | grep "^/" | sort -u | \
|
|
+ /sbin/ldconfig -r | sed 's,.* => \(/.*/\)[^/]*\.so.*,\1,' | grep "^/" | sort -u | \
|
|
while read lib; do
|
|
echo -n "-L${lib} "
|
|
done
|