diff options
author | manu <manu@pkgsrc.org> | 2001-04-16 11:52:55 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2001-04-16 11:52:55 +0000 |
commit | 67a6930f8049295a4c457debe7905f19fabea9a8 (patch) | |
tree | 2f65d2329c0c7d8522a15669dadbcd11751e3e9f /emulators/linuxppc_lib/Makefile | |
parent | f7725fcbf5b7cb099b450ef88c84ba0af388d3ce (diff) | |
download | pkgsrc-67a6930f8049295a4c457debe7905f19fabea9a8.tar.gz |
We now check that /emul/linux/lib/ld.so.1 exists, and add a link from
/emul/linux to /usr/pkg/emul/linux if not.
Diffstat (limited to 'emulators/linuxppc_lib/Makefile')
-rw-r--r-- | emulators/linuxppc_lib/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/emulators/linuxppc_lib/Makefile b/emulators/linuxppc_lib/Makefile index 6b6dbea6a5b..5cb4c580f4e 100644 --- a/emulators/linuxppc_lib/Makefile +++ b/emulators/linuxppc_lib/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2001/04/04 17:04:00 manu Exp $ +# $NetBSD: Makefile,v 1.10 2001/04/16 11:52:55 manu Exp $ -DISTNAME= linuxppc_lib-2000.q4.3 +DISTNAME= linuxppc_lib-2000.q4.4 CATEGORIES= emulators MASTER_SITES= ftp://ftp.linuxppc.org/linuxppc-halloween/software/ DISTFILES= glibc-2.1.3-15f.ppc.rpm glib-1.2.8-3.ppc.rpm \ @@ -44,7 +44,10 @@ do-build: #do nothing do-install: ${RM} -f ${WRKDIR}/PLIST_DYNAMIC ${INSTALL_DATA_DIR} ${PREFIX}/${EMUL_LINUX} + ${INSTALL_DATA_DIR} /${EMUL_LINUX} ${RPM2PKG} -d ${PREFIX} -f ${WRKDIR}/PLIST_DYNAMIC -p emul/linux ${RPMARGS} + ${TEST} -f /emul/linux/lib/ld.so.1 || ( ${RMDIR} /${EMUL_LINUX} && \ + ${LN} -sf ${PREFIX}/${EMUL_LINUX} /${EMUL_LINUX} ) ${TOUCH} ${PREFIX}/${EMUL_LINUX}/etc/ld.so.cache~ ${CP} ${FILESDIR}/ld.so.conf ${PREFIX}/${EMUL_LINUX}/etc/ld.so.conf ${LINUX_LDCONFIG} -r ${PREFIX}/${EMUL_LINUX} -v | \ |