pkgsrc/devel/libtool-base/Makefile
martti ee265d4b1e PKGREVISION is set in libtool/Makefile.common. Without this fix
you would see something like this from "lintpkgsrc -i":

Version mismatch: 'libtool-base' 1.4.20010614nb8 vs 1.4.20010614UNDEFINEDnb8
2002-04-17 13:24:21 +00:00

33 lines
726 B
Makefile

# $NetBSD: Makefile,v 1.9 2002/04/17 13:24:21 martti Exp $
#
.include "../libtool/Makefile.common"
PKGNAME= ${PKGPFX:C/-/-base-/}
SVR4_PKGNAME= ltoob
COMMENT= Generic shared library support script (the script itself)
CONFLICTS+= libtool<=1.3.5nb11
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"
LDFLAGS= # Blank