1 # $NetBSD: Makefile.common,v 1.77 2009/12/15 17:35:36 joerg Exp $
2 # used by devel/libltdl/Makefile
3 # used by devel/libtool-base/Makefile
4 # used by devel/libtool-info/Makefile
6 ###########################################################################
7 ###########################################################################
9 # HEADS UP! DO NOT CHANGE THE VERSION OR PKGREVISION WITHOUT READING THIS:
11 ###########################################################################
12 ###########################################################################
14 # This package is maintained specially in order to preserve pkgsrc
15 # specific OS changes that diverge from the "out of the box" libtool.
16 # In order to keep this package in a maintainable condition, the .m4 files
17 # must be manipulated in order to generate the patch-* files.
19 # See devel/libtool/patches/manual.README for instructions on how to make
20 # these patch files properly; otherwise your changes WILL be lost on the
21 # next libtool update.
23 # DO NOT MAKE CHANGES TO patch-ab OR patch-ad WITHOUT FOLLOWING THESE
24 # INSTRUCTIONS. There are no exceptions to this rule.
26 ###########################################################################
27 ###########################################################################
29 DISTNAME= libtool-2.2.6b
30 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
31 CATEGORIES= devel pkgtools
32 MASTER_SITES= ${MASTER_SITE_GNU:=libtool/}
34 OWNER= joerg@NetBSD.org
35 HOMEPAGE= http://www.gnu.org/software/libtool/libtool.html
38 CONFLICTS= glibtool-[0-9]*
40 PKG_INSTALLATION_TYPES= overwrite pkgviews
41 PKG_DESTDIR_SUPPORT= user-destdir
45 DISTINFO_FILE= ${.CURDIR}/../libtool/distinfo
46 PATCHDIR= ${.CURDIR}/../libtool/patches
50 .include "../../mk/bsd.prefs.mk"
52 # The configure script persists in trying to find the path to ld, which
53 # always ends up in ${BUILDLINK_DIR}. Prevent it from caring.
55 CONFIGURE_ENV+= lt_cv_path_LD=${LD:Q}
57 # The configure script persists in trying to find the path to sed or gsed,
58 # which breaks when SED is nbsed. Tell it explicitly to use the sed
61 CONFIGURE_ENV+= lt_cv_path_SED=${SED:Q}
63 # The configure script doesn't seem to be working out the need for -p
66 .if ${OPSYS} == "SunOS" || ${OPSYS} == "HPUX"
67 CONFIGURE_ENV+= lt_cv_path_NM="nm -p"
68 .elif ${OPSYS} == "IRIX" || ${OPSYS} == "OSF1"
69 CONFIGURE_ENV+= lt_cv_path_NM="nm -B"
72 CONFIGURE_ENV+= RANLIB=${RANLIB:Q}