summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm2/files/patch-src__configure
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:00:12 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:00:12 +0000
commit7792c21583f7131ad63a9cb6e25b7ef38652d3a7 (patch)
tree35ae86a1ec3a303f6ac7c0146111c635eff41fb4 /sysutils/gkrellm2/files/patch-src__configure
parent- Switch databases/libmemcache to USES=libtool, drop .la files (diff)
Rename sysutils/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'sysutils/gkrellm2/files/patch-src__configure')
-rw-r--r--sysutils/gkrellm2/files/patch-src__configure51
1 files changed, 51 insertions, 0 deletions
diff --git a/sysutils/gkrellm2/files/patch-src__configure b/sysutils/gkrellm2/files/patch-src__configure
new file mode 100644
index 000000000000..d022e120c478
--- /dev/null
+++ b/sysutils/gkrellm2/files/patch-src__configure
@@ -0,0 +1,51 @@
+Index: src/configure
+diff -u src/configure.orig src/configure
+--- src/configure.orig 2010-09-14 23:40:38.000000000 +0900
++++ src/configure 2010-10-06 17:48:28.286565914 +0900
+@@ -46,8 +46,8 @@
+ echo -n "Checking for OpenSSL... "
+ echo "Checking for OpenSSL... " 1>& 5
+
+-OPENSSL_INCLUDE="$(pkg-config openssl --cflags 2>& 5 || true)"
+-OPENSSL_LIBS="$(pkg-config openssl --libs 2>& 5 || true)"
++OPENSSL_INCLUDE="-I${OPENSSLINC}"
++OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
+ if [ -z "$OPENSSL_LIBS" ]
+ then
+ echo "OpenSSL not found via pkg-config, using hardcoded library names" 1>& 5
+@@ -69,7 +69,7 @@
+ }
+ EOF
+
+-$CC ${CFLAGS} ${GTK_INCLUDE} ${OPENSSL_INCLUDE} -c test.c -o test.o 2>& 5 || true
++$CC ${GTK_INCLUDE} ${OPENSSL_INCLUDE} -c test.c -o test.o 2>& 5 || true
+ $CC test.o -o test ${LINK_FLAGS} ${GTK_LIBS} ${OPENSSL_LIBS} 2>& 5 || true
+
+ if [ -x ./test ] && ./test
+@@ -117,7 +117,7 @@
+ }
+ EOF
+
+-${CC} ${CFLAGS} ${GTK_INCLUDE} ${GNUTLS_INCLUDE} -c test.c -o test.o 2>& 5 || true
++${CC} ${GTK_INCLUDE} ${GNUTLS_INCLUDE} -c test.c -o test.o 2>& 5 || true
+ ${CC} test.o -o test ${LINK_FLAGS} ${GTK_LIBS} ${GNUTLS_LIBS} 2>& 5 || true
+
+ if [ -x ./test ] && ./test
+@@ -159,7 +159,7 @@
+ }
+ EOF
+
+-${CC} ${CFLAGS} ${GTK_INCLUDE} ${PKG_NTLM_INCLUDE} -c test.c -o test.o 2>& 5 || true
++${CC} ${GTK_INCLUDE} ${PKG_NTLM_INCLUDE} -c test.c -o test.o 2>& 5 || true
+ ${CC} test.o -o test ${LINK_FLAGS} ${GTK_LIBS} ${PKG_NTLM_LIBS} 2>& 5 || true
+
+ if [ -x ./test ] && ./test
+@@ -209,7 +209,7 @@
+ }
+ EOF
+
+-${CC} ${CFLAGS} ${GTK_INCLUDE} -c test.c -o test.o 2>& 5 || true
++${CC} ${GTK_INCLUDE} -c test.c -o test.o 2>& 5 || true
+ ${CC} test.o -o test ${LINK_FLAGS} ${GTK_LIBS} -lsensors 2>& 5 || true
+
+ if [ -x ./test ] && ./test