diff options
| author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-03-26 09:06:32 +0000 |
|---|---|---|
| committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-03-26 09:06:32 +0000 |
| commit | 6a1e617b65d21d9487c47931243fa12fde2e8d1c (patch) | |
| tree | 29dfd2754d3cfdcc75fb7c50eea98dc2d2703998 | |
| parent | - Add LICENSE (diff) | |
- Unbreak the build on -CURRENT after r345349
- Install lowercase symlink for convenience
| -rw-r--r-- | devel/redasm/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/redasm/Makefile b/devel/redasm/Makefile index c303277907ee..5719b457bf2c 100644 --- a/devel/redasm/Makefile +++ b/devel/redasm/Makefile @@ -22,17 +22,19 @@ GH_TUPLE= REDasmOrg:REDasm-Library:2059871:libra/LibREDasm \ Dax89:QHexView:e96ea40:qhv/QHexView \ aquynh:capstone:4948fd1:cs/LibREDasm/depends/capstone -PLIST_FILES= bin/REDasm lib/LibREDasm.so +PLIST_FILES= bin/REDasm lib/LibREDasm.so bin/redasm post-patch: @${REINPLACE_CMD} -e 's,formats\.size(),formatsCount,' \ ${WRKSRC}/mainwindow.cpp @${REINPLACE_CMD} -e '/Git/s,find_package,#&, ; \ /CMAKE_INSTALL_RPATH/s,\.,${PREFIX}/lib, ; \ + s| LibREDasm|& pthread| ; \ s|unknown|b47ed30|' ${WRKSRC}/CMakeLists.txt do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/REDasm ${STAGEDIR}${PREFIX}/bin + ${LN} -s REDasm ${STAGEDIR}${PREFIX}/bin/redasm ${INSTALL_LIB} ${BUILD_WRKSRC}/LibREDasm.so ${STAGEDIR}${PREFIX}/lib .include <bsd.port.mk> |
