summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-07-14 15:04:47 +0000
committertv <tv@pkgsrc.org>1998-07-14 15:04:47 +0000
commit318df9d19ef58f8328fe6cb7bad1a54d99dd35fd (patch)
tree61285bd8f82f554a2eb8c070315fd125573032dd /devel
parente47d939203a848a987e286ee29e5b9e315967e9c (diff)
downloadpkgsrc-318df9d19ef58f8328fe6cb7bad1a54d99dd35fd.tar.gz
If neither ld.so nor ld.elf_so exist in /usr/libexec, assume this system
is incapable of shared libraries and add --disable-shared to CONFIGURE_ARGS.
Diffstat (limited to 'devel')
-rw-r--r--devel/libtool/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile
index 7d81fb8ab3b..8022a6e3b32 100644
--- a/devel/libtool/Makefile
+++ b/devel/libtool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/07/13 01:53:49 tv Exp $
+# $NetBSD: Makefile,v 1.3 1998/07/14 15:04:47 tv Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1998/05/07 15:58:20 vanilla Exp
#
@@ -11,5 +11,8 @@ MAINTAINER= tv@netbsd.org
GNU_CONFIGURE= yes
CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
INSTALL_DATA="${INSTALL_DATA}"
+.if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
+CONFIGURE_ARGS= --disable-shared
+.endif
.include "../../mk/bsd.pkg.mk"