summaryrefslogtreecommitdiff
path: root/emulators/suse100_slang
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
commit78d4bc67e9c4dfb991c13d4a63fb27aac9be67cd (patch)
tree91c2dddb61f0b38dbe354ba6e13406da871e7041 /emulators/suse100_slang
parentf6f40077c068b65b0cdc693721393b33e1926725 (diff)
downloadpkgsrc-78d4bc67e9c4dfb991c13d4a63fb27aac9be67cd.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 'emulators/suse100_slang')
-rw-r--r--emulators/suse100_slang/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/emulators/suse100_slang/Makefile b/emulators/suse100_slang/Makefile
index 84597bbe3a3..5b48a342908 100644
--- a/emulators/suse100_slang/Makefile
+++ b/emulators/suse100_slang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/06/30 16:20:24 salo Exp $
+# $NetBSD: Makefile,v 1.4 2007/04/19 15:30:22 xtraeme Exp $
DISTNAME= suse_slang-${SUSE_VERSION}
PKGREVISION= 2
@@ -17,12 +17,10 @@ NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
-.if exists(Makefile.${MACHINE_ARCH})
-.include "Makefile.${MACHINE_ARCH}"
-.endif
+SUSE_INCLUDE_MAKEFILE_ARCH= yes
post-install:
- cd ${PREFIX}/${EMULSUBDIR}/usr/lib/ && \
+ cd ${PREFIX}/${EMULSUBDIR}/usr/lib && \
${LN} -sf libslang-utf8.so.1 libslang.so.1
.include "../../emulators/suse100_linux/Makefile.common"