diff options
Diffstat (limited to 'devel/libpci')
-rw-r--r-- | devel/libpci/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/libpci/Makefile b/devel/libpci/Makefile index eae13e9aad8e..4e3041338ac6 100644 --- a/devel/libpci/Makefile +++ b/devel/libpci/Makefile @@ -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 |