summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-18 19:12:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-18 19:12:19 +0000
commitb6eaadffb1953dc578d7a54050556d57a4ffd66e (patch)
tree797b4be6163cb7fa600d489f69d44eb2bd970dcc /ports-mgmt
parentFix build in WITH_LIBMAGIC case (diff)
Fix the build on older versions of FreeBSD.
Reported by: W.D. <WD@US-Webmasters.com>
Notes
Notes: svn path=/head/; revision=119739
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 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.