Do not replace Elf64_Xword and Elf64_Sxword on FreeBSD versions 600102

or higher. We have the standard ELF types since then...
This commit is contained in:
Marcel Moolenaar 2005-12-31 01:30:29 +00:00
parent 58ed0a6bf9
commit 5c9fcb26af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152461

View File

@ -25,6 +25,10 @@ USE_GETTEXT= yes
NOMAN= defined
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600102
USE_REINPLACE= yes
FILES_TO_PATCH=lib/32.fsize.c lib/64.xlatetof.c lib/cook.c lib/gelf.h lib/gelftrans.c
@ -35,4 +39,6 @@ post-patch:
-e 's/Elf64_Sxword/Elf64_Sword/g' \
${FILES_TO_PATCH:S,^,${WRKSRC}/,}
.include <bsd.port.mk>
.endif
.include <bsd.port.post.mk>