summaryrefslogtreecommitdiff
path: root/emulators/suse100_linux
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-06-19 23:24:21 +0000
committerjlam <jlam@pkgsrc.org>2006-06-19 23:24:21 +0000
commit5e59ad964fccbb28df1b7e2cebedda05d7d55751 (patch)
tree94e9237cce677be8473d5ef11a1119b7df8d9297 /emulators/suse100_linux
parentea184c8f99b1940058c84a51fb38357f9d013d0c (diff)
downloadpkgsrc-5e59ad964fccbb28df1b7e2cebedda05d7d55751.tar.gz
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.
Diffstat (limited to 'emulators/suse100_linux')
-rw-r--r--emulators/suse100_linux/Makefile.common15
1 files changed, 11 insertions, 4 deletions
diff --git a/emulators/suse100_linux/Makefile.common b/emulators/suse100_linux/Makefile.common
index f7da5e61e2c..7e2e919b025 100644
--- a/emulators/suse100_linux/Makefile.common
+++ b/emulators/suse100_linux/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2006/06/19 20:22:33 jdolecek Exp $
+# $NetBSD: Makefile.common,v 1.8 2006/06/19 23:24:21 jlam Exp $
.include "../../emulators/suse100_linux/vars.mk"
.include "../../emulators/suse100_linux/arch.mk"
@@ -30,6 +30,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
@@ -89,6 +99,3 @@ do-install:
${RM} -f ${PLIST_SRC}.old; \
fi
.endif
-
-show-shlib-type:
- @${ECHO} linux-${MACHINE_ARCH}