blob: 52d018b4a5f14fef82c3fcba0309336f923220fd (
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
31
32
33
34
35
36
|
PORTNAME= libtool
PORTREVISION= 1
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
# Perform the patching after the build, because touching m4 files before the
# configuration step causes autoreconf to be invoked
post-stage:
cd ${STAGEDIR}${PREFIX}/share/aclocal && \
${PATCH} --posix -p1 < ${PATCHDIR}/stagepatch-m4_libtool.m4
.include <bsd.port.mk>
|