- Make it clang-friendly

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-06-21 10:35:50 +00:00
parent d82b02a4dd
commit 4d4403d8fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275979

View file

@ -33,7 +33,7 @@ LIBPCI_FILES= include/pci/config.h include/pci/header.h include/pci/pci.h \
libdata/pkgconfig/libpci.pc
post-patch:
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's|^CC=|CC?=|; s|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Makefile
post-build:
@${REINPLACE_CMD} 's|^#include "|&pci/|' ${WRKSRC}/lib/pci.h