aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pkg_install
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-10-19 03:12:19 +0800
committermarcus <marcus@FreeBSD.org>2004-10-19 03:12:19 +0800
commita48591563953a9cac6963164605548a98b754560 (patch)
treea759974cffc67963679cbd5461dc32ef0175e406 /sysutils/pkg_install
parent4ecbb318e40b1c7aa5ab9074062ae8d2fabfb70a (diff)
downloadfreebsd-ports-gnome-a48591563953a9cac6963164605548a98b754560.tar.gz
freebsd-ports-gnome-a48591563953a9cac6963164605548a98b754560.tar.zst
freebsd-ports-gnome-a48591563953a9cac6963164605548a98b754560.zip
Fix the build on older versions of FreeBSD.
Reported by: W.D. <WD@US-Webmasters.com>
Diffstat (limited to 'sysutils/pkg_install')
-rw-r--r--sysutils/pkg_install/files/patch-Makefile.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/pkg_install/files/patch-Makefile.inc b/sysutils/pkg_install/files/patch-Makefile.inc
new file mode 100644
index 000000000000..afe320568cd0
--- /dev/null
+++ b/sysutils/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.