summaryrefslogtreecommitdiff
path: root/devel/libtool-base
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-05-21 14:03:36 +0000
committerschmonz <schmonz@pkgsrc.org>2002-05-21 14:03:36 +0000
commit84ab2d3d0a6db05f735725880727262a93fcc518 (patch)
tree1e0740008711f43c951a05ff97f4a0247e2ea710 /devel/libtool-base
parentee9485ec2d7bf00129fb6bb51394c802ef487155 (diff)
downloadpkgsrc-84ab2d3d0a6db05f735725880727262a93fcc518.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