1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/ftp/curl/files/patch-configure
2005-09-05 18:12:41 +00:00

23 lines
545 B
Plaintext

--- configure.orig Fri Sep 2 20:22:43 2005
+++ configure Fri Sep 2 20:37:36 2005
@@ -24917,8 +24917,10 @@
PKGTEST="no"
PREFIX_OPENSSL=$OPT_SSL
LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff"
+ if ! [ "$PREFIX_OPENSSL" = "/usr" ]; then
LDFLAGS="$LDFLAGS -L$LIB_OPENSSL"
CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
+ fi
;;
esac
@@ -32576,7 +32578,7 @@
main ()
{
#ifndef basename
- char *p = (char *) basename;
+ char *(*p)(const char *) = basename;
#endif
;