diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-06-21 18:35:50 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-06-21 18:35:50 +0800 |
commit | 99476ffe9e8ac0ecfe661c5d90f79d1c4d4aaef2 (patch) | |
tree | 416fa88830ec23d34abb2df918f0ac4b209f6dab | |
parent | 25880f20e4c1add1fcd410eaef595d698ec6003d (diff) | |
download | freebsd-ports-gnome-99476ffe9e8ac0ecfe661c5d90f79d1c4d4aaef2.tar.gz freebsd-ports-gnome-99476ffe9e8ac0ecfe661c5d90f79d1c4d4aaef2.tar.zst freebsd-ports-gnome-99476ffe9e8ac0ecfe661c5d90f79d1c4d4aaef2.zip |
- Make it clang-friendly
-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 |