Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2019 09:06:33 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496882 - head/devel/redasm
Message-ID:  <201903260906.x2Q96X2u087272@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Mar 26 09:06:32 2019
New Revision: 496882
URL: https://svnweb.freebsd.org/changeset/ports/496882

Log:
  - Unbreak the build on -CURRENT after r345349
  - Install lowercase symlink for convenience

Modified:
  head/devel/redasm/Makefile

Modified: head/devel/redasm/Makefile
==============================================================================
--- head/devel/redasm/Makefile	Tue Mar 26 09:01:06 2019	(r496881)
+++ head/devel/redasm/Makefile	Tue Mar 26 09:06:32 2019	(r496882)
@@ -22,17 +22,19 @@ GH_TUPLE=	REDasmOrg:REDasm-Library:2059871:libra/LibRE
 		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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903260906.x2Q96X2u087272>