summaryrefslogtreecommitdiffstats
path: root/mail/cclient/files
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2001-04-08 20:53:04 +0000
committermi <mi@FreeBSD.org>2001-04-08 20:53:04 +0000
commit6a8b70f9b3405c05679187c9818e36b27c74b843 (patch)
tree9aaa2ed191399150b3952d5fc50358af733dec82 /mail/cclient/files
parent76957f2a129ec444e565a4c4e8f5c6311d8f60e9 (diff)
downloadFreeBSD-ports-6a8b70f9b3405c05679187c9818e36b27c74b843.zip
FreeBSD-ports-6a8b70f9b3405c05679187c9818e36b27c74b843.tar.gz
Fix handling of WITH_SSL -- the USE_OPENSSL was defined when in the
opposite case :) Make the c-client's Makefile use the LDFLAGS files, when linking the shared library. This ensures, that the things like -lpam, -lssl are linked into it and an application does not have to refer to them explicitly. WITH_SSL should, IMHO, be made a default...
Diffstat (limited to 'mail/cclient/files')
-rw-r--r--mail/cclient/files/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/cclient/files/patch-ab b/mail/cclient/files/patch-ab
index c928795..dc25bf4 100644
--- a/mail/cclient/files/patch-ab
+++ b/mail/cclient/files/patch-ab
@@ -84,9 +84,9 @@
+$(SHLIBNAME): $(SOFILES)
+.if $(PORTOBJFORMAT) == "elf"
-+ ld -shared -x -soname $(SHLIBNAME) -o $(SHLIBNAME) $(SOFILES)
++ ld -shared -x -soname $(SHLIBNAME) -o $(SHLIBNAME) $(SOFILES) `cat LDFLAGS`
+.else
-+ ld -Bshareable -x -o $(SHLIBNAME) $(SOFILES)
++ ld -Bshareable -x -o $(SHLIBNAME) $(SOFILES) `cat LDFLAGS`
+.endif
+ ln -s $(SHLIBNAME) lib$(SHLIBBASE).so
+
OpenPOWER on IntegriCloud