- Make it clang-friendly
This commit is contained in:
parent
d82b02a4dd
commit
4d4403d8fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275979
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue