summaryrefslogtreecommitdiff
path: root/devel/libtool-base
diff options
context:
space:
mode:
authorschmonz <schmonz>2002-05-21 14:03:36 +0000
committerschmonz <schmonz>2002-05-21 14:03:36 +0000
commit7f7fb42246877a446ac635ff751093447c191e30 (patch)
tree1e0740008711f43c951a05ff97f4a0247e2ea710 /devel/libtool-base
parent93f89d736ee3eaf3724f57cba2d45d6e363fd459 (diff)
downloadpkgsrc-7f7fb42246877a446ac635ff751093447c191e30.tar.gz
Make libtool work on Darwin, based on the patches in pkg/16104 by
Jeff Putsch <jdputsch@attbi.com>. Also repair a typo that had prevented '-fno-common' from being passed along (found and fixed by skrll). Bump PKGREVISION. Approved by skrll.
Diffstat (limited to 'devel/libtool-base')
-rw-r--r--devel/libtool-base/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile
index b79ff23ced9..aa14507ccfb 100644
--- a/devel/libtool-base/Makefile
+++ b/devel/libtool-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2002/04/17 13:24:21 martti Exp $
+# $NetBSD: Makefile,v 1.10 2002/05/21 14:03:38 schmonz Exp $
#
.include "../libtool/Makefile.common"
@@ -20,6 +20,10 @@ test: build
DEPENDS+= c++rt0>=1.0:../../sysutils/c++rt0
.endif
+.if ${MACHINE_PLATFORM:MDarwin-*-*} != ""
+.include "../../devel/dlcompat/buildlink.mk"
+.endif
+
.if ${OPSYS} == "NetBSD"
.if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
CONFIGURE_ARGS= --disable-shared