diff options
-rw-r--r-- | net-p2p/dctc-gui-qt/Makefile | 2 | ||||
-rw-r--r-- | net/dctc-gui-qt/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net-p2p/dctc-gui-qt/Makefile b/net-p2p/dctc-gui-qt/Makefile index 3b8b9e47fe33..a5eabf4fbc1c 100644 --- a/net-p2p/dctc-gui-qt/Makefile +++ b/net-p2p/dctc-gui-qt/Makefile @@ -35,7 +35,7 @@ post-configure: # uphold CC/CXX/CFLAGS # link against correct qt lib @${REINPLACE_CMD} -E -e 's|^CC.+$$|CC=${CC}|; \ - s|^CXX.+$$|CXX=${CXX}|; \ + s|^CXX[[:space:]]*=.*$$|CXX=${CXX}|; \ s|^(CFLAGS.+)$$|\1 ${PTHREAD_CFLAGS}|; \ s|-lqt |-lqt-mt ${PTHREAD_LIBS:S/"//g} |' \ ${WRKSRC}/Makefile diff --git a/net/dctc-gui-qt/Makefile b/net/dctc-gui-qt/Makefile index 3b8b9e47fe33..a5eabf4fbc1c 100644 --- a/net/dctc-gui-qt/Makefile +++ b/net/dctc-gui-qt/Makefile @@ -35,7 +35,7 @@ post-configure: # uphold CC/CXX/CFLAGS # link against correct qt lib @${REINPLACE_CMD} -E -e 's|^CC.+$$|CC=${CC}|; \ - s|^CXX.+$$|CXX=${CXX}|; \ + s|^CXX[[:space:]]*=.*$$|CXX=${CXX}|; \ s|^(CFLAGS.+)$$|\1 ${PTHREAD_CFLAGS}|; \ s|-lqt |-lqt-mt ${PTHREAD_LIBS:S/"//g} |' \ ${WRKSRC}/Makefile |