blob: f4dac2839d436c857e8f1fd25516821197333816 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile.common,v 1.61 2005/04/11 21:45:28 tv Exp $
#
DISTNAME= libtool-1.5.14
CATEGORIES= devel pkgtools
MASTER_SITES= ${MASTER_SITE_GNU:=libtool/}
MAINTAINER= tv@duh.org
HOMEPAGE= http://www.gnu.org/software/libtool/libtool.html
CONFLICTS= glibtool-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
DISTINFO_FILE= ${.CURDIR}/../libtool/distinfo
FILESDIR= ${.CURDIR}/../libtool/files
PATCHDIR= ${.CURDIR}/../libtool/patches
AUTOMAKE_OVERRIDE= NO
.include "../../mk/bsd.prefs.mk"
# The configure script persists in trying to find the path to ld, which
# always ends up in ${BUILDLINK_DIR}. Prevent it from caring.
#
CONFIGURE_ENV+= lt_cv_path_LD=${LD:Q}
# The configure script persists in trying to find the path to sed or gsed,
# which breaks when SED is nbsed. Tell it explicitly to use the sed
# named by ${SED}.
#
CONFIGURE_ENV+= SED=${SED:Q}
CONFIGURE_ENV+= lt_cv_path_SED=${SED:Q}
# The configure script doesn't seem to be working out the need for -p
# or -B, so tell it
.if ${OPSYS} == "SunOS"
CONFIGURE_ENV+= lt_cv_path_NM="nm -p"
.elif ${OPSYS} == "IRIX" || ${OPSYS} == "OSF1"
CONFIGURE_ENV+= lt_cv_path_NM="nm -B"
.endif
CONFIGURE_ENV+= RANLIB=${RANLIB:Q}
|