svn commit: r495570 - head/devel/redasm
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Mar 13 09:04:55 UTC 2019
Author: danfe
Date: Wed Mar 13 09:04:54 2019
New Revision: 495570
URL: https://svnweb.freebsd.org/changeset/ports/495570
Log:
- Installing LibREDasm.so as a normal library and setting USE_LDCONFIG
flag was bogus, because the port builds with CMAKE_INSTALL_RPATH set
to "." and the library filename itself is non-standard, so make that
path absolute, $cwd-agnostic one instead (${PREFIX}/lib)
- Ensure that correct Git hash is displayed in program windows' titles
Modified:
head/devel/redasm/Makefile
Modified: head/devel/redasm/Makefile
==============================================================================
--- head/devel/redasm/Makefile Wed Mar 13 09:00:59 2019 (r495569)
+++ head/devel/redasm/Makefile Wed Mar 13 09:04:54 2019 (r495570)
@@ -4,6 +4,7 @@
PORTNAME= redasm
PORTVERSION= 2.0
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= danfe at FreeBSD.org
@@ -13,7 +14,6 @@ LICENSE= GPLv3
USES= cmake compiler:c++11-lang qt:5
USE_QT= buildtools_build qmake_build core gui network webengine
-USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= REDasmOrg
@@ -27,6 +27,9 @@ PLIST_FILES= bin/REDasm lib/LibREDasm.so
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|unknown|b47ed30|' ${WRKSRC}/CMakeLists.txt
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/REDasm ${STAGEDIR}${PREFIX}/bin
More information about the svn-ports-all
mailing list