diff options
Diffstat (limited to 'sysutils/gkrellm2/files/patch-src__configure')
| -rw-r--r-- | sysutils/gkrellm2/files/patch-src__configure | 51 |
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 |
