summaryrefslogtreecommitdiff
path: root/emulators/suse_base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/suse_base/Makefile')
-rw-r--r--emulators/suse_base/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile
index 8aeebe7ce72..ccdcde81cd0 100644
--- a/emulators/suse_base/Makefile
+++ b/emulators/suse_base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2004/02/19 11:37:11 cjs Exp $
+# $NetBSD: Makefile,v 1.47 2004/04/14 11:31:10 xtraeme Exp $
DISTNAME= suse_base-${SUSE_VERSION}
PKGREVISION= 5
@@ -16,6 +16,7 @@ ONLY_FOR_PLATFORM= NetBSD-1.5Z[C-Z]-i386 NetBSD-1.6*-i386
ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-i386
ONLY_FOR_PLATFORM+= NetBSD-1.6[L-Z]-powerpc NetBSD-1.6Z[A-Z]-powerpc
ONLY_FOR_PLATFORM+= NetBSD-1.[7-9]*-powerpc NetBSD-[2-9]*-powerpc
+ONLY_FOR_PLATFORM+= FreeBSD-*-i386
USE_BUILDLINK2= # defined
EXTRACT_ONLY= # empty
@@ -38,6 +39,8 @@ RPMIGNOREPATH= tmp usr/tmp var
LINUX_LDD= ${PREFIX}/${EMULSUBDIR}/usr/bin/ldd
+.include "../../mk/bsd.prefs.mk"
+
do-build:
@for FILE in ${PKGDIR}/PLIST ${FILESDIR}/*.sh; do \
${SED} -e 's#@@EMULDIR@@#${EMULDIR}#g' \
@@ -61,6 +64,9 @@ do-install:
${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC}
${INSTALL_DATA} ${WRKDIR}/SuSE-release ${EMULDIR}/etc
${INSTALL_DATA} ${FILESDIR}/ld.so.conf ${EMULDIR}/etc
+.if ${OPSYS} == "FreeBSD"
+ ${BRANDELF} -t Linux ${EMULDIR}/sbin/ldconfig
+.endif
${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \
>>${PLIST_SRC}