Changeset View
Changeset View
Standalone View
Standalone View
x11/polybar/Makefile
| Show All 14 Lines | LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ | ||||
| libfreetype.so:print/freetype2 \ | libfreetype.so:print/freetype2 \ | ||||
| libinotify.so:devel/libinotify \ | libinotify.so:devel/libinotify \ | ||||
| libxcb-ewmh.so:x11/xcb-util-wm \ | libxcb-ewmh.so:x11/xcb-util-wm \ | ||||
| libxcb-icccm.so:x11/xcb-util-wm \ | libxcb-icccm.so:x11/xcb-util-wm \ | ||||
| libxcb-image.so:x11/xcb-util-image \ | libxcb-image.so:x11/xcb-util-image \ | ||||
| libxcb-util.so:x11/xcb-util \ | libxcb-util.so:x11/xcb-util \ | ||||
| libxcb-xrm.so:x11/xcb-util-xrm | libxcb-xrm.so:x11/xcb-util-xrm | ||||
| USES= cmake compiler:c++11-lang localbase:ldflags \ | # compiler:c++11-lang is needed for powerpc64 | ||||
| USES= cmake compiler:c++11-lang gnome localbase:ldflags \ | |||||
| pkgconfig python:2.7,build | pkgconfig python:2.7,build | ||||
| USE_GITHUB= yes | USE_GITHUB= yes | ||||
| GH_ACCOUNT= jaagr | GH_ACCOUNT= jaagr | ||||
| GH_TUPLE= jaagr:i3ipcpp:v0.7.1-4-gd4e4786:i3ipcpp/lib/i3ipcpp \ | GH_TUPLE= jaagr:i3ipcpp:v0.7.1-4-gd4e4786:i3ipcpp/lib/i3ipcpp \ | ||||
| jaagr:xpp:1.4.0-4-gbf6ff36:xpp/lib/xpp | jaagr:xpp:1.4.0-4-gbf6ff36:xpp/lib/xpp | ||||
| USE_GNOME= cairo | USE_GNOME= cairo | ||||
| USE_XORG= xcb | USE_XORG= xcb | ||||
| Show All 40 Lines | |||||
| # fail while building on poudriere because it needs network access | # fail while building on poudriere because it needs network access | ||||
| # during the building process to download googletest on-the-fly. | # during the building process to download googletest on-the-fly. | ||||
| TESTS_BUILD_DEPENDS= git>=0:devel/git | TESTS_BUILD_DEPENDS= git>=0:devel/git | ||||
| TESTS_CMAKE_BOOL= BUILD_TESTS | TESTS_CMAKE_BOOL= BUILD_TESTS | ||||
| XKEYBOARD_CMAKE_BOOL= ENABLE_XKEYBOARD | XKEYBOARD_CMAKE_BOOL= ENABLE_XKEYBOARD | ||||
| XKEYBOARD_LIB_DEPENDS= libxcb-xkb.so:x11/libxcb | XKEYBOARD_LIB_DEPENDS= libxcb-xkb.so:x11/libxcb | ||||
| CONFIGURE_ENV+= PYTHONDONTWRITEBYTECODE=NOPYC | |||||
| MAKE_ENV+= PYTHONDONTWRITEBYTECODE=NOPYC | |||||
tcberner: ^ only MAKE_ENV is needed, and as you are already patching the CMakeLists.txt, you can add the… | |||||
| #post-patch: | |||||
| # ${REINPLACE_CMD} -e 's|python2 python2.7 python3 python|${PYTHON_VERSION}|g' \ | |||||
| ${WRKSRC}/lib/xpp/CMakeLists.txt | |||||
| do-test-TESTS-on: | do-test-TESTS-on: | ||||
| cd ${TEST_WRKSRC} && ${SETENV} BUILD_TESTS=ON \ | cd ${TEST_WRKSRC} && ${SETENV} BUILD_TESTS=ON \ | ||||
| ${SH} ${WRKSRC}/common/travis/tests.sh | ${SH} ${WRKSRC}/common/travis/tests.sh | ||||
| .include <bsd.port.mk> | .include <bsd.port.mk> | ||||
^ only MAKE_ENV is needed, and as you are already patching the CMakeLists.txt, you can add the -B there :) and drop these Varaibles here