From b6eaadffb1953dc578d7a54050556d57a4ffd66e Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 18 Oct 2004 19:12:19 +0000 Subject: Fix the build on older versions of FreeBSD. Reported by: W.D. --- ports-mgmt/pkg_install/files/patch-Makefile.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ports-mgmt/pkg_install/files/patch-Makefile.inc (limited to 'ports-mgmt') diff --git a/ports-mgmt/pkg_install/files/patch-Makefile.inc b/ports-mgmt/pkg_install/files/patch-Makefile.inc new file mode 100644 index 000000000000..afe320568cd0 --- /dev/null +++ b/ports-mgmt/pkg_install/files/patch-Makefile.inc @@ -0,0 +1,16 @@ +--- Makefile.inc.orig Mon Oct 18 15:09:20 2004 ++++ Makefile.inc Mon Oct 18 15:10:08 2004 +@@ -7,10 +7,12 @@ + .endif + + .if !defined(NOCRYPT) && !defined(NO_OPENSSL) && \ +- defined(LDADD) && ${LDADD:M-lfetch} != "" ++ defined(LDADD) ++.if ${LDADD:M-lfetch} != "" + DISTRIBUTION= crypto + DPADD+= ${LIBSSL} ${LIBCRYPTO} + LDADD+= -lssl -lcrypto ++.endif + .endif + + # Inherit BINDIR from one level up. -- cgit v1.2.3