honour LDFLAGS when linking so the resulting binary can find libssl

and libcrypto.
This commit is contained in:
grant 2004-06-17 11:35:28 +00:00
parent 7c847fc994
commit d16f9658fa
2 changed files with 15 additions and 6 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.1.1.1 2003/06/19 20:39:10 jlam Exp $
$NetBSD: distinfo,v 1.2 2004/06/17 11:35:28 grant Exp $
SHA1 (ssmtp_2.60.3.tar.gz) = 09aad88a61f3ee014b52e0daa3e8749d612ceaef
Size (ssmtp_2.60.3.tar.gz) = 159289 bytes
SHA1 (patch-aa) = 73681fd5585fe520fb9620e2f8358c41ad42cfd8
SHA1 (patch-ab) = 76b2669443ff3ac488c18f3c7877cf621f7b3708
SHA1 (patch-ac) = 1eaf754bffa3c1612ebde8cd58810d3ae1ee6ce4
SHA1 (patch-ac) = c42d3fbfc3054cd1cc730c9fdde57f2d9498bcb4
SHA1 (patch-ad) = 92c666b84e8fa20103103f6d24f887a587d57a4c
SHA1 (patch-ae) = ef626358229731e6afff2e194928780e5fc908a3

View file

@ -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: