aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-04-08 20:53:04 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-04-08 20:53:04 +0000
commitca11adc80470c824cface30f12869a4c2cc6d139 (patch)
tree3a59784d1ae5003d45ed72827439ee76454e7fc8
parent35e5f6beecdc5aacdaebc4d21048dd03ec330ee4 (diff)
downloadports-ca11adc80470c824cface30f12869a4c2cc6d139.tar.gz
ports-ca11adc80470c824cface30f12869a4c2cc6d139.zip
Notes
-rw-r--r--mail/cclient/Makefile6
-rw-r--r--mail/cclient/files/patch-ab4
2 files changed, 4 insertions, 6 deletions
diff --git a/mail/cclient/Makefile b/mail/cclient/Makefile
index 357ca477f8d5..291169bd0590 100644
--- a/mail/cclient/Makefile
+++ b/mail/cclient/Makefile
@@ -18,11 +18,9 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@freebsd.org
INSTALLS_SHLIB= yes
-.if defined(WITH_SSL)
-ALL_TARGET= bsf SSLTYPE=unix
-.else
ALL_TARGET= bsf
-
+.if defined(WITH_SSL)
+MAKE_ARGS+= SSLTYPE=unix
USE_OPENSSL= yes
.endif
diff --git a/mail/cclient/files/patch-ab b/mail/cclient/files/patch-ab
index c9287954240b..dc25bf496bea 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
+