From b3f7f16315d366fee1b7dd20e60ac0bdd3f862b9 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Thu, 19 Apr 2007 15:30:20 +0000 Subject: 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). --- archivers/rar-bin/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archivers') 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" -- cgit v1.2.3