openbsd-ports/net/gnugk/patches/patch-configure

17 lines
550 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.3 2008/03/15 17:40:06 ajacoutot Exp $
--- configure.orig Fri Jun 2 11:21:34 2006
+++ configure Thu Mar 6 10:55:13 2008
@@ -3924,7 +3924,11 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- PGSQL_LIBS="-lpq -lcrypt ${PGSQL_LIBS}"
+ if test `uname -s` = OpenBSD ; then
+ PGSQL_LIBS="-lpq -lcrypto ${PGSQL_LIBS}"
+ else
+ PGSQL_LIBS="-lpq -lcrypt ${PGSQL_LIBS}"
+ fi
PGSQL_LDFLAGS="-L$try"