Find the correct zlib.

This commit is contained in:
jperkin 2014-12-15 11:55:04 +00:00
parent 1535145e14
commit e036d2ecf1

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2014/11/20 07:41:06 mef Exp $
# $NetBSD: Makefile,v 1.11 2014/12/15 11:55:04 jperkin Exp $
#
DISTNAME= gzrt-0.8
@ -15,6 +15,11 @@ BUILD_TARGET= gzrecover
INSTALLATION_DIRS= bin
SUBST_CLASSES+= lz
SUBST_STAGE.lz= pre-configure
SUBST_FILES.lz= Makefile
SUBST_SED.lz= -e 's|-lz|-L${BUILDLINK_PREFIX.zlib}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.zlib}/lib -lz|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gzrecover ${DESTDIR}${PREFIX}/bin