mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Fix build on -CURRENT.
PR: 46899 Submitted by: David Holm <david@realityrift.com>
This commit is contained in:
parent
59a1dc1968
commit
353f2c7af8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79738
@ -36,6 +36,7 @@ PLIST_SUB= GNUHOST=${CONFIGURE_TARGET}
|
||||
CONFIGURE_ARGS= --with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/include/g++
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp28.1 g++28.1 gcc28.1
|
||||
|
||||
@ -46,6 +47,11 @@ pre-patch:
|
||||
@${MV} ${WRKSRC}/config/i386/freebsd.h ${WRKSRC}/config/i386/freebsd-aout.h
|
||||
@${MV} ${WRKSRC}/config/i386/freebsd-elf.h ${WRKSRC}/config/i386/freebsd.h
|
||||
|
||||
post-patch:
|
||||
.if ${OSVERSION} >= 500000
|
||||
@${REINPLACE_CMD} -e 's|elf_i386|elf_i386_fbsd|' ${WRKSRC}/config/i386/freebsd.h
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@# Keep from running `autoconf' and `autoheader' since we modified
|
||||
@# configure.in by patching it.
|
||||
|
Loading…
Reference in New Issue
Block a user