summaryrefslogtreecommitdiff
path: root/mail/ssmtp/patches
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-06-17 11:35:28 +0000
committergrant <grant@pkgsrc.org>2004-06-17 11:35:28 +0000
commitf3aaf63dce2eefff324142e5a3db69ee3835cbcc (patch)
treeb4f267cefc6c47458f5fb89fd3f1a52475b0737d /mail/ssmtp/patches
parente2df4471713e8adebe1a19103dacf72edbc19f5b (diff)
downloadpkgsrc-f3aaf63dce2eefff324142e5a3db69ee3835cbcc.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: