diff options
author | kent <kent> | 2002-08-21 12:59:17 +0000 |
---|---|---|
committer | kent <kent> | 2002-08-21 12:59:17 +0000 |
commit | 7ffc19973d222b7878e90c398bf7f35c48116b61 (patch) | |
tree | ba777dc86d8de768b36b07cd528524f495db2a3b /devel/w32api/INSTALL | |
parent | c81540ab254715caa775004dd1ad332f461615b7 (diff) | |
download | pkgsrc-7ffc19973d222b7878e90c398bf7f35c48116b61.tar.gz |
Sync with PEACE repositry
http://cvs.kshosen.ac.jp/cvsweb.cgi/peace/pkgsrc/devel/w32api/
* Update w32api to 1.5
- Add comcat.h, mapi.h, ntsecpkg.h, schannel.h, schnlsp.h,
security.h, sspi.h, wsnetbs.h,
- Many bug fixes
* Add crt files for PEACE
Diffstat (limited to 'devel/w32api/INSTALL')
-rw-r--r-- | devel/w32api/INSTALL | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/devel/w32api/INSTALL b/devel/w32api/INSTALL new file mode 100644 index 00000000000..546dfe3782c --- /dev/null +++ b/devel/w32api/INSTALL @@ -0,0 +1,35 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1 2002/08/21 12:59:17 kent Exp $ +# $PEACE: INSTALL,v 1.1 2002/08/21 02:02:27 kent Exp $ + +PKGNAME=$1 +STAGE=$2 + +SED=/usr/bin/sed +LN=/bin/ln +MKDIR=/bin/mkdir + +CROSSINC=${PKG_PREFIX}/cross/i386-netbsdpe/include + +case ${STAGE} in +PRE-INSTALL) + ;; +POST-INSTALL) + ${SED} "s/^extern const/__declspec(dllimport) extern const/g" /usr/include/ctype.h > ${CROSSINC}/ctype.h + ${SED} "s/^extern FILE/__declspec(dllimport) extern FILE/" /usr/include/stdio.h > ${CROSSINC}/stdio.h + ${SED} "s/^extern size_t __mb_cur_max/__declspec(dllimport) extern size_t __mb_cur_max/" /usr/include/stdlib.h > ${CROSSINC}/stdlib.h + ${SED} "s/^extern __aconst char/__declspec(dllimport) extern __aconst char/" /usr/include/time.h > ${CROSSINC}/time.h + ${SED} "s/^extern/__declspec(dllimport) extern/g" /usr/include/unistd.h > ${CROSSINC}/unistd.h + ${MKDIR} ${CROSSINC}/i386 + ${SED} "s/_BSD_WCHAR_T_[ ]*int/_BSD_WCHAR_T_ unsigned short/" /usr/include/i386/ansi.h > ${CROSSINC}/i386/ansi.h + cd ${CROSSINC} && ${LN} -sf i386 machine + ${MKDIR} ${CROSSINC}/sys + ${SED} "s/FSHIFT/SYS_PARAM_FSHIFT/g" /usr/include/sys/param.h > ${CROSSINC}/sys/param.h + ;; +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 |