FreeBSD Bugzilla – Attachment 227038 Details for
Bug 257701
deskutils/ydotool: drop runtime dependency on boost-libs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1 (apply via "git am")
bug257701.diff (text/plain), 1.47 KB, created by
Jan Beich
on 2021-08-09 07:07:36 UTC
(
hide
)
Description:
v1 (apply via "git am")
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2021-08-09 07:07:36 UTC
Size:
1.47 KB
patch
obsolete
>From c724a6f7e10fde7fd05f23b0cb406cb415eabb6b Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Mon, 9 Aug 2021 06:39:37 +0000 >Subject: [PATCH] deskutils/ydotool: drop runtime dependency on boost-libs > >Until subpackaging arrives to bsd.port.mk and boost-libs is split into >smaller packages this shaves ~166 MiB of install size. > >PR: 257701 >Approved by: bapt (maintainer) >--- > deskutils/ydotool/Makefile | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/deskutils/ydotool/Makefile b/deskutils/ydotool/Makefile >index 6225ac9c0ada..e98d17cf8b7b 100644 >--- a/deskutils/ydotool/Makefile >+++ b/deskutils/ydotool/Makefile >@@ -10,10 +10,10 @@ COMMENT= Generic command-line automation tool (no X!) > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > >-BUILD_DEPENDS= ${LOCALBASE}/include/linux/uinput.h:devel/evdev-proto >+BUILD_DEPENDS= ${LOCALBASE}/include/boost/program_options.hpp:devel/boost-libs \ >+ ${LOCALBASE}/include/linux/uinput.h:devel/evdev-proto > LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ > libuInputPlus.so:devel/libuinputplus \ >- libboost_program_options.so:devel/boost-libs \ > libevdevPlus.so:devel/libevdevplus > > USES= cmake compiler:c++11-lang localbase >@@ -31,4 +31,9 @@ PLIST_FILES= bin/ydotool \ > > USE_LDCONFIG= yes > >+post-patch: >+# CMAKE_ON=Boost_USE_STATIC_LIBS only works with find_package(Boost) >+ @${REINPLACE_CMD} -e 's,boost_[^[:space:]]*,${LOCALBASE}/lib/lib&.a,' \ >+ ${WRKSRC}/CMakeLists.txt >+ > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257701
: 227038