diff options
Diffstat (limited to 'emulators/compat13/Makefile')
-rw-r--r-- | emulators/compat13/Makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/emulators/compat13/Makefile b/emulators/compat13/Makefile index ce6437453ff..b1491833ff8 100644 --- a/emulators/compat13/Makefile +++ b/emulators/compat13/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2003/07/17 21:35:22 grant Exp $ +# $NetBSD: Makefile,v 1.16 2003/08/30 18:57:03 jlam Exp $ # DISTNAME= compat13-${MACHINE_ARCH}${PKGMINOR} @@ -16,10 +16,14 @@ ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm NetBSD-*-arm32 \ NOT_FOR_PLATFORM= NetBSD-1.3*-* NO_MTREE= # defined +NO_BUILD= # defined SHLIB_HANDLING= NO +USE_PKGINSTALL= YES -DEINSTALL_FILE= ${WRKDIR}/DEINSTALL -INSTALL_FILE= ${WRKDIR}/INSTALL +FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR} +FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH} +FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT} +FILES_SUBST+= LDCONFIG=${LDCONFIG} .include "../../mk/bsd.prefs.mk" @@ -43,21 +47,8 @@ PKGMINOR= PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR} -do-build: - ${SED} -e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \ - -e "s,@COMPAT_LIBDIR@,${COMPAT_LIBDIR},g" \ - -e "s,@LDCONFIG@,${LDCONFIG},g" \ - < ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} - ${SED} -e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \ - -e "s,@OBJECT_FMT@,${OBJECT_FMT},g" \ - -e "s,@LDCONFIG@,${LDCONFIG},g" \ - < ${PKGDIR}/INSTALL > ${INSTALL_FILE} - do-install: ${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR} ${INSTALL_DATA} ${WRKDIR}/lib*.so* ${PREFIX}/${COMPAT_LIBDIR} -post-install: - PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL - .include "../../mk/bsd.pkg.mk" |