FreeBSD Bugzilla – Attachment 160750 Details for
Bug 202901
games/qqwing configure narrowly searches for gcc or cc and Makefile hard-codes CC CXX CPP plus does not respect CFLAGS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't hardcode CC/CXX/CPP
qqwing-respect-cc.diff (text/plain), 2.05 KB, created by
Koop Mast
on 2015-09-05 22:09:15 UTC
(
hide
)
Description:
Don't hardcode CC/CXX/CPP
Filename:
MIME Type:
Creator:
Koop Mast
Created:
2015-09-05 22:09:15 UTC
Size:
2.05 KB
patch
obsolete
>Index: games/qqwing/Makefile >=================================================================== >--- games/qqwing/Makefile (revision 396132) >+++ games/qqwing/Makefile (working copy) >@@ -18,7 +18,7 @@ > USE_GITHUB= yes > GH_ACCOUNT= stephenostermiller > USE_LDCONFIG= yes >-CONFIGURE_ENV+= CC=cc CXX=c++ CPP=cpp >+CONFIGURE_ENV+= CC=${CC} CXX=${CXX} CPP=${CPP} > > post-patch: > @${REINPLACE_CMD} -e 's|exit 1|exit 0|g' \ >@@ -30,16 +30,27 @@ > @${REINPLACE_CMD} -e 's|sudo||g' \ > ${WRKSRC}/build/cpp_install.sh > >+ >+do-configure: >+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${SH} build/cpp_configure.sh >+ > do-build: >- @(cd ${WRKSRC} && ${SH} build/cpp_configure.sh && ${SH} build/cpp_compile.sh && ${SH} build/cpp_dist.sh) >+ @cd ${WRKSRC} && ${SH} build/cpp_compile.sh > > do-install: >- @(cd ${WRKSRC}/target/automake/.libs && ${CP} libqqwing.so.2 ${STAGEDIR}${PREFIX}/lib) >- @(${LN} -fs ${PREFIX}/lib/libqqwing.so.2 ${STAGEDIR}${PREFIX}/lib/libqqwing.so.2.0.3) >- @(${LN} -fs ${PREFIX}/lib/libqqwing.so.2 ${STAGEDIR}${PREFIX}/lib/libqqwing.so) >- @(cd ${WRKSRC}/target/automake/ && ${CP} qqwing.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig) >- @(cd ${WRKSRC}/target/automake/ && ${CP} qqwing.hpp ${STAGEDIR}${PREFIX}/include) >- @(cd ${WRKSRC}/target/automake/ && ${CP} qqwing ${STAGEDIR}${PREFIX}/bin) >- @(cd ${WRKSRC}/target/automake/ && ${GZIP_CMD} qqwing.1 && ${CP} qqwing.1.gz ${STAGEDIR}${PREFIX}/man/man1/) >+ @cd ${WRKSRC}/target/automake/.libs && \ >+ ${INSTALL_LIB} libqqwing.so.2 ${STAGEDIR}${PREFIX}/lib >+ @${LN} -fs ${PREFIX}/lib/libqqwing.so.2 \ >+ ${STAGEDIR}${PREFIX}/lib/libqqwing.so.2.0.3 >+ @${LN} -fs ${PREFIX}/lib/libqqwing.so.2 \ >+ ${STAGEDIR}${PREFIX}/lib/libqqwing.so >+ @cd ${WRKSRC}/target/automake/ && \ >+ ${INSTALL_DATA} qqwing.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig >+ @cd ${WRKSRC}/target/automake/ && \ >+ ${INSTALL_DATA} qqwing.hpp ${STAGEDIR}${PREFIX}/include >+ @cd ${WRKSRC}/target/automake/ && \ >+ ${INSTALL_DATA} qqwing ${STAGEDIR}${PREFIX}/bin >+ @cd ${WRKSRC}/target/automake/ && \ >+ ${INSTALL_DATA} qqwing.1 ${STAGEDIR}${PREFIX}/man/man1/ > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202901
:
160748
| 160750