summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorkamil <kamil>2017-03-09 16:31:50 +0000
committerkamil <kamil>2017-03-09 16:31:50 +0000
commit8abd883c885b85a67af9f74b173147555de97e1f (patch)
tree64e32eeb3b40901372047499ee4aa0588cb9e824 /filesystems
parentde67ddf9f3e24bfdc81c63a821b11c035dfb2765 (diff)
downloadpkgsrc-8abd883c885b85a67af9f74b173147555de97e1f.tar.gz
Fix build of squashfs on CentOS 7.x
Fix usage of do-build, don't reinvent it without missing parameters passed to gmake(1). Include required lzo, xz, zlib. Bump PKGREVISION to 2.
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/squashfs/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/filesystems/squashfs/Makefile b/filesystems/squashfs/Makefile
index e1305105c4b..50e68c032a8 100644
--- a/filesystems/squashfs/Makefile
+++ b/filesystems/squashfs/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.3 2017/02/09 18:16:07 scole Exp $
+# $NetBSD: Makefile,v 1.4 2017/03/09 16:31:50 kamil Exp $
VERSION= 4.3
DISTNAME= squashfs${VERSION}
PKGNAME= squashfs-${VERSION}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= filesystems
MASTER_SITES= http://downloads.sourceforge.net/project/squashfs/squashfs/${DISTNAME}/
@@ -29,9 +29,7 @@ SQUASH_DIR= ${WRKDIR}/${DISTNAME}
WRKSRC= ${SQUASH_DIR}/squashfs-tools
SQUASH_PKG_DOC= ${DESTDIR}${PREFIX}/share/doc/squashfs
-do-build:
- cd ${WRKSRC} && env EXTRA_LDFLAGS="-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib" \
- ${GMAKE} ${BUILD_MAKE_FLAGS}
+MAKE_ENV+= EXTRA_LDFLAGS="${COMPILER_RPATH_FLAG}${PREFIX}/lib"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mksquashfs ${DESTDIR}${PREFIX}/bin
@@ -47,4 +45,7 @@ do-install:
${INSTALL_DATA} ${SQUASH_DIR}/OLD-READMEs/* ${SQUASH_PKG_DOC}/OLD-READMEs/
${INSTALL_DATA} ${SQUASH_DIR}/pseudo-file.example ${DESTDIR}${PREFIX}/share/examples/squashfs/
+.include "../../archivers/lzo/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"