diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-12-17 19:36:58 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-12-17 19:36:58 +0000 |
commit | e8de8ac7850528a79c0999bd48ea5adcadd6c932 (patch) | |
tree | aadfc0f168e1e7b11ce68b1f26b0e28fbebb8d4d /sysutils/gkrellm2 | |
parent | 491d1ba6664c6de419db38bead44f468aed582c2 (diff) | |
download | ports-e8de8ac7850528a79c0999bd48ea5adcadd6c932.tar.gz ports-e8de8ac7850528a79c0999bd48ea5adcadd6c932.zip |
Notes
Diffstat (limited to 'sysutils/gkrellm2')
-rw-r--r-- | sysutils/gkrellm2/Makefile | 1 | ||||
-rw-r--r-- | sysutils/gkrellm2/files/patch-src:Makefile | 20 |
2 files changed, 18 insertions, 3 deletions
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile index 10c6498fc847..f54848d8822d 100644 --- a/sysutils/gkrellm2/Makefile +++ b/sysutils/gkrellm2/Makefile @@ -31,6 +31,7 @@ USE_GNOME= glib12 .else USE_GNOME= gtk20 USE_XLIB= yes +USE_OPENSSL= yes .endif USE_BZIP2= yes diff --git a/sysutils/gkrellm2/files/patch-src:Makefile b/sysutils/gkrellm2/files/patch-src:Makefile index 258c8816761e..d90a5289645d 100644 --- a/sysutils/gkrellm2/files/patch-src:Makefile +++ b/sysutils/gkrellm2/files/patch-src:Makefile @@ -1,13 +1,27 @@ Index: src/Makefile diff -u src/Makefile.orig src/Makefile ---- src/Makefile.orig Fri Dec 12 03:31:04 2003 -+++ src/Makefile Sat Dec 13 14:29:56 2003 -@@ -44,7 +44,7 @@ +--- src/Makefile.orig Wed Dec 17 01:53:06 2003 ++++ src/Makefile Thu Dec 18 04:30:43 2003 +@@ -31,7 +31,7 @@ + HAVE_SSL = $(shell grep -c HAVE_SSL configure.h) + + ifeq ($(HAVE_SSL),1) +- SSL_LIBS ?= -lssl -lcrypto ++ SSL_LIBS ?= -L$(OPENSSLLIB) -lssl -lcrypto + else + EXTRAOBJS ?= md5c.o + endif +@@ -45,8 +45,12 @@ PKG_LIB = `$(PKG_CONFIG) --libs gtk+-2.0 gthread-2.0` -FLAGS = -O2 -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE) +FLAGS = -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE) FLAGS+= $(PTHREAD_INC) ++ ++ifeq ($(HAVE_SSL),1) ++ FLAGS+= -I$(OPENSSLINC) ++endif LIBS = $(PKG_LIB) $(GTOP_LIBS) $(SMC_LIBS) $(SYS_LIBS) $(SSL_LIBS) + |