1
0
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:
Joe Marcus Clarke 2004-10-18 19:12:19 +00:00
parent a64b397670
commit b6eaadffb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119739
2 changed files with 32 additions and 0 deletions
ports-mgmt/pkg_install/files
sysutils/pkg_install/files

View 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.

View 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.