summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2007-04-19 15:30:20 +0000
committerxtraeme <xtraeme>2007-04-19 15:30:20 +0000
commitcb28d2b364ed108c1e42908b9ed96b5768ed51d6 (patch)
tree91c2dddb61f0b38dbe354ba6e13406da871e7041 /archivers
parentb9240b7da27f7190a3fdf5a773314802d8bc0e12 (diff)
downloadpkgsrc-cb28d2b364ed108c1e42908b9ed96b5768ed51d6.tar.gz
Add support for using suse100 with NetBSD/amd64 and COMPAT_LINUX32.
Support is added via the options framework, to use 32-bit packages must be used "PKG_OPTIONS.suse=compat32", otherwise it will use the 64-bit packages by default. Known packages working are opera (does not require any change in Makefile) and rar-bin. Tested by some, closes PR pkg/35477 by Michai Chelaru (which provided a patch more or less than this one).
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rar-bin/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/rar-bin/Makefile b/archivers/rar-bin/Makefile
index ad3f9a2e960..b30656e6e4e 100644
--- a/archivers/rar-bin/Makefile
+++ b/archivers/rar-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/10/19 21:32:03 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2007/04/19 15:30:22 xtraeme Exp $
#
DISTNAME= rarlinux-3.6.0
@@ -19,7 +19,7 @@ WRKSRC= ${WRKDIR}/rar
# old name of the package
CONFLICTS= rarlinux-[0-9]* rar-linux-[0-9]*
-.include "../../emulators/suse_linux/Makefile.application"
+SUSE_COMPAT32= yes
.if !defined(USE_NATIVE_LINUX)
DEPENDS+= suse_base>=6.1:../../emulators/${SUSE_DIR_PREFIX}_base
@@ -39,4 +39,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/rar-bin
${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${PREFIX}/share/doc/rar-bin
+.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"