diff options
author | kent <kent@pkgsrc.org> | 2001-10-21 12:24:15 +0000 |
---|---|---|
committer | kent <kent@pkgsrc.org> | 2001-10-21 12:24:15 +0000 |
commit | cbeea2b88c3d31505ee6c13b1d176f317cfde9f6 (patch) | |
tree | 3e243a31dfa5a6bdbb463c0ad48f58b723a36ce7 /cross/i386-netbsdpe/Makefile | |
parent | e65d4b62060352c1ecc87592893efcf5bc811121 (diff) | |
download | pkgsrc-cbeea2b88c3d31505ee6c13b1d176f317cfde9f6.tar.gz |
Sync with PEACE repositry.
- Apply stack-protection patch.
- Upgrade binutils: 2.9.1 -> 2.11.2.
This package does not use cross-binutils-2.9.1
Diffstat (limited to 'cross/i386-netbsdpe/Makefile')
-rw-r--r-- | cross/i386-netbsdpe/Makefile | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/cross/i386-netbsdpe/Makefile b/cross/i386-netbsdpe/Makefile index aa7c6539d02..b2518264f2e 100644 --- a/cross/i386-netbsdpe/Makefile +++ b/cross/i386-netbsdpe/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2001/03/10 21:15:27 wiz Exp $ -# +# $NetBSD: Makefile,v 1.8 2001/10/21 12:24:15 kent Exp $ +# $PEACE: Makefile,v 1.16 2001/10/19 07:43:09 kent Exp $ -DISTVERSION= 1.1.4 -DISTFILES= # none +DISTVERSION= 1.2.1 +CROSS_DISTFILES= # none MAINTAINER= peace-sacrifice@hauN.org HOMEPAGE= http://chiharu.hauN.org/peace/ @@ -27,11 +27,18 @@ GCC_CONFIGURE_ARGS+= --enable-threads BINUTILS_EXTRAS= dlltool windres +# Mingw pathes GCC_WIN32_PATCHBUNDLE= ${GCC_DISTNAME}-x86-win32-patches.tar.gz GCC_WIN32_PATCH= ${WRKDIR}/${GCC_DISTNAME}-patches/${GCC_DISTNAME}-x86-win32.diff MASTER_SITES+= ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/${GCC_DISTNAME}/patches/ CROSS_DISTFILES+= ${GCC_WIN32_PATCHBUNDLE} +# SSP patch +MASTER_SITES+= http://www.trl.ibm.com/projects/security/ssp/gcc2_95_2/ +SSP_PATCH= protector-2.95.2-2.tar.gz +CROSS_DISTFILES+= ${SSP_PATCH} + +# pthread PTHREAD_DISTNAME= unproven-pthreads-0.17 PTHREAD_DISTFILE= ${PTHREAD_DISTNAME}.tar.gz MASTER_SITES+= ftp://ftp.flame.org/pub/netbsd/ @@ -54,6 +61,10 @@ post-patch: cd ${WRKDIR}/${GCC_DISTNAME}/gcc && \ ${LN} -s ../../${PTHREAD_DISTNAME}/include/pthread.h . && \ ${LN} -s ../../${PTHREAD_DISTNAME}/include/pthread . + cd ${WRKDIR} && /usr/bin/tar zxf ${_DISTDIR}/${SSP_PATCH} + ${CP} ${WRKDIR}/protector.c ${WRKDIR}/protector.h ${WRKDIR}/${GCC_DISTNAME}/gcc/ + ${PATCH} -d ${WRKDIR}/${GCC_DISTNAME} --forward --quiet -E < ${WRKDIR}/protector.dif +# ${PATCH} -d ${WRKDIR}/${GCC_DISTNAME} --forward --quiet -E < ${WRKDIR}/protectonly.dif CFLAGS_FOR_TARGET+= -I${WRKDIR} post-configure: |