diff options
author | tv <tv@pkgsrc.org> | 1998-07-14 15:04:47 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-07-14 15:04:47 +0000 |
commit | 318df9d19ef58f8328fe6cb7bad1a54d99dd35fd (patch) | |
tree | 61285bd8f82f554a2eb8c070315fd125573032dd /devel | |
parent | e47d939203a848a987e286ee29e5b9e315967e9c (diff) | |
download | pkgsrc-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/Makefile | 5 |
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" |