mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
Fix the build on older versions of FreeBSD.
Reported by: W.D. <WD@US-Webmasters.com>
This commit is contained in:
parent
a64b397670
commit
b6eaadffb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119739
16
ports-mgmt/pkg_install/files/patch-Makefile.inc
Normal file
16
ports-mgmt/pkg_install/files/patch-Makefile.inc
Normal file
@ -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.
|
16
sysutils/pkg_install/files/patch-Makefile.inc
Normal file
16
sysutils/pkg_install/files/patch-Makefile.inc
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user