From 5e59ad964fccbb28df1b7e2cebedda05d7d55751 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 19 Jun 2006 23:24:21 +0000 Subject: Cleanup fallout from {DE,}INSTALL_SRC removal: rewrite the INSTALL script to be of the format expected by the pkginstall framework. Also, split out the important text from the INSTALL script and put it into a MESSAGE file. Also, remove the unused show-shlib-type target. --- emulators/suse91_linux/Makefile.common | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'emulators/suse91_linux') diff --git a/emulators/suse91_linux/Makefile.common b/emulators/suse91_linux/Makefile.common index e5f452e530c..84515a47c60 100644 --- a/emulators/suse91_linux/Makefile.common +++ b/emulators/suse91_linux/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.14 2006/04/28 09:08:32 joerg Exp $ +# $NetBSD: Makefile.common,v 1.15 2006/06/19 23:25:48 jlam Exp $ .include "../../emulators/suse91_linux/vars.mk" .include "../../emulators/suse91_linux/arch.mk" @@ -29,6 +29,16 @@ MANCOMPRESSED?= yes EMULSUBDIR= emul/linux EMULDIR= ${PREFIX}/${EMULSUBDIR} +# Set location of OPSYS-specific emulation directory +.if ${OPSYS} == "NetBSD" +OPSYS_EMULDIR= /${EMULSUBDIR} +.elif (${OPSYS} == "FreeBSD") || (${OPSYS} == "DragonFly") +OPSYS_EMULDIR= /compat/${EMULSUBDIR:T} +.else +OPSYS_EMULDIR= /${EMULSUBDIR} +.endif +FILES_SUBST+= OPSYS_EMULDIR=${OPSYS_EMULDIR:Q} + RPM2PKG= ${PREFIX}/sbin/rpm2pkg BUILD_DEPENDS+= rpm2pkg>=2.1:../../pkgtools/rpm2pkg @@ -75,6 +85,3 @@ do-install: ${RM} -f ${PLIST_SRC}.old; \ fi .endif - -show-shlib-type: - @${ECHO} linux-${MACHINE_ARCH} -- cgit v1.2.3