aboutsummaryrefslogtreecommitdiffstats
path: root/shells/scponly/Makefile
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2003-11-21 08:59:01 +0800
committerjeh <jeh@FreeBSD.org>2003-11-21 08:59:01 +0800
commitc48dc3907441c302729ea8c2a049f78393b59e74 (patch)
tree2dcb9604af6b4c866d10b10e977d18f4798cd026 /shells/scponly/Makefile
parentbf81b1dac33b9e0a565b2cdd231d3fc42a5927e6 (diff)
downloadfreebsd-ports-gnome-c48dc3907441c302729ea8c2a049f78393b59e74.tar.gz
freebsd-ports-gnome-c48dc3907441c302729ea8c2a049f78393b59e74.tar.zst
freebsd-ports-gnome-c48dc3907441c302729ea8c2a049f78393b59e74.zip
scponly dist includes a script which setup chroot cage, which
depends a location of run-time link-editor. Since FreeBSD has dynamic root capability from __FreeBSD_version == 501105, we should add new location to unbreak the script. PR: 59511 Submintted by: MAINTAINER
Diffstat (limited to 'shells/scponly/Makefile')
-rw-r--r--shells/scponly/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile
index 95b9acfe166c..619d8bcc0725 100644
--- a/shells/scponly/Makefile
+++ b/shells/scponly/Makefile
@@ -65,6 +65,10 @@ PLIST_SUB+= SCPONLY_CHROOT="@comment "
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 501105 && exists(/libexec/ld-elf.so.1)
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-aa
+.endif
+
.if defined(WITHOUT_SCPONLY_WILDCARDS)
CONFIGURE_ARGS+=--disable-wildcards
.endif