diff options
author | arved <arved@FreeBSD.org> | 2010-12-28 21:20:27 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2010-12-28 21:20:27 +0800 |
commit | 5953e8b6c3e8afbf211f488246183375e2775c54 (patch) | |
tree | ec972b1543eb79f51a0feb2ea4487e79a0a75737 /devel | |
parent | 9e582e6d56d7c84caa7df121b537299c222654e0 (diff) | |
download | freebsd-ports-graphics-5953e8b6c3e8afbf211f488246183375e2775c54.tar.gz freebsd-ports-graphics-5953e8b6c3e8afbf211f488246183375e2775c54.tar.zst freebsd-ports-graphics-5953e8b6c3e8afbf211f488246183375e2775c54.zip |
Unbreak port by removing reference to nonexisting headerfile
PR: 153482
Submitted by: Igor Soumenkov
Diffstat (limited to 'devel')
-rw-r--r-- | devel/mingw32-gcc/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/mingw32-gcc/Makefile b/devel/mingw32-gcc/Makefile index 164c7ce8c6f..60d8c579c83 100644 --- a/devel/mingw32-gcc/Makefile +++ b/devel/mingw32-gcc/Makefile @@ -30,8 +30,6 @@ PATCH_WRKSRC= ${SRCDIR} SRCDIR= ${WRKDIR}/${PORTNAME}-${GCCVERSION} WRKSRC= ${WRKDIR}/build -BROKEN= does not build - USE_BISON= build USE_BZIP2= yes USE_GMAKE= yes @@ -193,6 +191,10 @@ CONFIGURE_TARGET=x86_64-portbld-freebsd${OSREL} BROKEN= Does not compile on ia64 or powerpc .endif +post-patch: + ${REINPLACE_CMD} -e "s,# include <sys/sysctl.h>,," \ + ${SRCDIR}/libiberty/physmem.c + pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${MKDIR} ${CONFIGURE_WRKSRC} |