summaryrefslogtreecommitdiff
path: root/mail/ssmtp/patches
diff options
context:
space:
mode:
authorgrant <grant>2004-06-17 11:35:28 +0000
committergrant <grant>2004-06-17 11:35:28 +0000
commitde6012ec4dd35d205014c243f666425dcf71a88a (patch)
treeb4f267cefc6c47458f5fb89fd3f1a52475b0737d /mail/ssmtp/patches
parent4c40a65f33f6093e49d64b73b8b48765da74c9e5 (diff)
downloadpkgsrc-de6012ec4dd35d205014c243f666425dcf71a88a.tar.gz
honour LDFLAGS when linking so the resulting binary can find libssl
and libcrypto.
Diffstat (limited to 'mail/ssmtp/patches')
-rw-r--r--mail/ssmtp/patches/patch-ac17
1 files changed, 13 insertions, 4 deletions
diff --git a/mail/ssmtp/patches/patch-ac b/mail/ssmtp/patches/patch-ac
index da1d2d4ecd0..1ff46ec4ded 100644
--- a/mail/ssmtp/patches/patch-ac
+++ b/mail/ssmtp/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.1.1.1 2003/06/19 20:39:10 jlam Exp $
+$NetBSD: patch-ac,v 1.2 2004/06/17 11:35:28 grant Exp $
---- Makefile.in.orig Thu Jun 5 17:57:07 2003
-+++ Makefile.in Thu Jun 5 17:59:27 2003
-@@ -50,8 +50,8 @@
+--- Makefile.in.orig 2002-09-27 22:32:53.000000000 +1000
++++ Makefile.in
+@@ -50,8 +50,8 @@ install: ssmtp $(GEN_CONFIG)
$(INSTALL) -d -m 755 $(mandir)
$(INSTALL) -m 644 $(srcdir)/ssmtp.8 $(mandir)/ssmtp.8
$(INSTALL) -d -m 755 $(SSMTPCONFDIR)
@@ -13,3 +13,12 @@ $NetBSD: patch-ac,v 1.1.1.1 2003/06/19 20:39:10 jlam Exp $
.PHONY: install-sendmail
+@@ -78,7 +78,7 @@ uninstall-sendmail: uninstall
+
+ # Binaries:
+ ssmtp: $(OBJS)
+- $(CC) -o ssmtp $(OBJS) @LIBS@
++ $(CC) -o ssmtp $(OBJS) $(LDFLAGS) @LIBS@
+
+ .PHONY: clean
+ clean: