summaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-10-18 19:12:19 +0000
committermarcus <marcus@FreeBSD.org>2004-10-18 19:12:19 +0000
commita48591563953a9cac6963164605548a98b754560 (patch)
treea759974cffc67963679cbd5461dc32ef0175e406 /ports-mgmt
parent4ecbb318e40b1c7aa5ab9074062ae8d2fabfb70a (diff)
downloadFreeBSD-ports-a48591563953a9cac6963164605548a98b754560.zip
FreeBSD-ports-a48591563953a9cac6963164605548a98b754560.tar.gz
Fix the build on older versions of FreeBSD.
Reported by: W.D. <WD@US-Webmasters.com>
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg_install/files/patch-Makefile.inc16
1 files changed, 16 insertions, 0 deletions
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 0000000..afe3205
--- /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.
OpenPOWER on IntegriCloud