summaryrefslogtreecommitdiff
path: root/devel/libtool-base/Makefile
blob: 02e56b54642bd8adb75ab7e47f4ae7e4c8963606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.2 2001/02/16 14:38:40 wiz Exp $
#

.include "../libtool/Makefile.common"

PKGNAME=        ${DISTNAME:C/-/-base-/}${PKGREV}

COMMENT=	Generic shared library support script (the script itself)

test: build
	cd ${WRKSRC} && ${MAKE} check

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_PLATFORM:MNetBSD-1.4-sparc} != "" || \
	${MACHINE_PLATFORM:MNetBSD-1.4.[12]-sparc} != ""
DEPENDS+=	c++rt0>=1.0:../../sysutils/c++rt0
.endif

.if ${OPSYS} == "NetBSD"
.if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so)
CONFIGURE_ARGS=	--disable-shared
.endif
.else
CONFIGURE_ARGS=	--enable-ltdl-install
.endif

.include "../../mk/bsd.pkg.mk"