aboutsummaryrefslogtreecommitdiff
path: root/devel/libtool/Makefile
blob: 77629fdaead2638fccdc68a60d2e5dd8745eb2ff (plain) (blame)
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
29
30
PORTNAME=	libtool
PORTREVISION=	2

COMMENT=	Generic shared library support script
WWW=		https://www.gnu.org/software/libtool/

.include "${.CURDIR}/../libtool/Makefile.common"

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	gm4:devel/m4
RUN_DEPENDS=	gm4:devel/m4

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS=	--disable-ltdl-install
TEST_TARGET=	check

NO_ARCH=	yes
INFO=		libtool

.if "${CC}" == "/nxb-bin/usr/bin/cc"
# Generate libtool script for the native compiler, not the cross compiler.
CC=		cc
CXX=		c++
LD=		ld
.endif

.include <bsd.port.mk>