summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2007-04-19 15:30:20 +0000
committerxtraeme <xtraeme@pkgsrc.org>2007-04-19 15:30:20 +0000
commitb3f7f16315d366fee1b7dd20e60ac0bdd3f862b9 (patch)
tree91c2dddb61f0b38dbe354ba6e13406da871e7041 /archivers
parente3cbbff96df65799587030fb75d4c40a83e5d10c (diff)
downloadpkgsrc-b3f7f16315d366fee1b7dd20e60ac0bdd3f862b9.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"