aboutsummaryrefslogtreecommitdiff
path: root/devel/libpci
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-06-21 10:35:50 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-06-21 10:35:50 +0000
commit4d4403d8fa4c957c99792da9e5f2704bdabfc8f4 (patch)
treededaad370f56dca0a4b1cfb5b8ad3a10c22a47c7 /devel/libpci
parentd82b02a4dd8fcaefa298bba4ee5ee282153ddadc (diff)
downloadports-4d4403d8fa4c957c99792da9e5f2704bdabfc8f4.tar.gz
ports-4d4403d8fa4c957c99792da9e5f2704bdabfc8f4.zip
Notes
Diffstat (limited to 'devel/libpci')
-rw-r--r--devel/libpci/Makefile2
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