diff options
Diffstat (limited to 'emulators/compat14/Makefile')
-rw-r--r-- | emulators/compat14/Makefile | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/emulators/compat14/Makefile b/emulators/compat14/Makefile index 2e6ff1d2ade..2993d101581 100644 --- a/emulators/compat14/Makefile +++ b/emulators/compat14/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/07/17 21:35:24 grant Exp $ +# $NetBSD: Makefile,v 1.7 2003/08/30 19:02:33 jlam Exp $ # DISTNAME= compat14-${MACHINE_ARCH}-${VERSION} @@ -18,10 +18,15 @@ ONLY_FOR_PLATFORM= NetBSD-*-sparc NetBSD-*-i386 NOT_FOR_PLATFORM= NetBSD-1.3*-* NetBSD-1.4*-* 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+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR} +FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH} +FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT} +FILES_SUBST+= LDCONFIG=${LDCONFIG} .include "../../mk/bsd.prefs.mk" @@ -44,17 +49,6 @@ PLIST_SRC+= ${PKGDIR}/PLIST.${MACHINE_ARCH} PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR} COMPAT_XLIBDIR=${COMPAT_XLIBDIR} -do-build: - ${SED} -e "s,@MACHINE_ARCH@,${MACHINE_ARCH},g" \ - -e "s,@COMPAT_LIBDIR@,${COMPAT_LIBDIR},g" \ - -e "s,@COMPAT_XLIBDIR@,${COMPAT_XLIBDIR},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} - # note that the INSTALL_DATA for the lib*.so symlinks will copy the file, not the symlink. # FIXME. do-install: @@ -65,7 +59,4 @@ do-install: ${INSTALL_DATA} ${WRKDIR}/X11R6/lib/lib*.so* ${PREFIX}/${COMPAT_XLIBDIR}; \ fi -post-install: - PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL - .include "../../mk/bsd.pkg.mk" |