diff options
author | obache <obache> | 2010-07-06 23:36:51 +0000 |
---|---|---|
committer | obache <obache> | 2010-07-06 23:36:51 +0000 |
commit | 5aca231474bc28b5e98fa0940647f3ddb152b6eb (patch) | |
tree | 73e3b3a02720a59517335ee80aaa5fa4aaf19369 /archivers/pax | |
parent | 8b2e6864cb2b89b54a00e27d5106f96d490c644f (diff) | |
download | pkgsrc-5aca231474bc28b5e98fa0940647f3ddb152b6eb.tar.gz |
Add workaround of lack of hard link support on BFS of Haiku.
Use symbolic link instead.
Diffstat (limited to 'archivers/pax')
-rw-r--r-- | archivers/pax/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/archivers/pax/Makefile b/archivers/pax/Makefile index 0727ce0249b..542d1d88479 100644 --- a/archivers/pax/Makefile +++ b/archivers/pax/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2010/03/21 16:50:41 joerg Exp $ +# $NetBSD: Makefile,v 1.43 2010/07/06 23:36:51 obache Exp $ DISTNAME= pax-20080110 CATEGORIES= archivers @@ -41,4 +41,12 @@ GNU_CONFIGURE= yes do-extract: ${CP} -R ${FILESDIR} ${WRKSRC} +# Haiku (BeFS) cannot support hard link +.if ${OPSYS} == "Haiku" +SUBST_CLASSES+= symlink +SUBST_STAGE.symlink= pre-configure +SUBST_FILES.symlink= Makefile.in +SUBST_SED.symlink= -e 's,ln -f ,ln -sf ,g' +.endif + .include "../../mk/bsd.pkg.mk" |