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