Changeset View
Changeset View
Standalone View
Standalone View
cad/librecad/Makefile
Show All 9 Lines | |||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs | BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs | ||||
LIB_DEPENDS= libmuparser.so:math/muparser | LIB_DEPENDS= libmuparser.so:math/muparser | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= LibreCAD | GH_ACCOUNT= LibreCAD | ||||
GH_PROJECT= LibreCAD | GH_PROJECT= LibreCAD | ||||
USE_QT4= gui help network sql svg help-tools_build \ | USE_QT= gui help network sql svg help-tools_build \ | ||||
linguisttools_build moc_build rcc_build uic_build | linguisttools_build moc_build qmake_build rcc_build uic_build | ||||
USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake | USES= compiler:c++11-lib desktop-file-utils pkgconfig qt:4 | ||||
# Unhide std::to_string() to fix build with GCC (ports/193528) | # Unhide std::to_string() to fix build with GCC (ports/193528) | ||||
CFLAGS+= -D_GLIBCXX_USE_C99 | CFLAGS+= -D_GLIBCXX_USE_C99 | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ | @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ | ||||
${WRKSRC}/librecad/src/lib/engine/rs_settings.cpp \ | ${WRKSRC}/librecad/src/lib/engine/rs_settings.cpp \ | ||||
${WRKSRC}/librecad/src/lib/engine/rs_system.cpp | ${WRKSRC}/librecad/src/lib/engine/rs_system.cpp | ||||
Show All 21 Lines |