diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-12-15 11:55:04 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-12-15 11:55:04 +0000 |
commit | d3a71576c47b97e65842f981ca2f4c0067f7ba47 (patch) | |
tree | c817768526ed793b17ced8a7e2e4e7cd2c0a45ac /archivers | |
parent | 5ef7f3ad8be336bbf70c9bde5c8f25479a94541f (diff) | |
download | pkgsrc-d3a71576c47b97e65842f981ca2f4c0067f7ba47.tar.gz |
Find the correct zlib.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gzrecover/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/archivers/gzrecover/Makefile b/archivers/gzrecover/Makefile index 27031caf847..b77b8ec76b6 100644 --- a/archivers/gzrecover/Makefile +++ b/archivers/gzrecover/Makefile @@ -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 |