From 034e07cafc7f6b5f8f4b015d3d9bba24d4999e8c Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Fri, 3 Jul 2026 23:48:13 -0700 Subject: Add make args for compile and install --- gui-wm/dwl/dwl-9999.ebuild | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'gui-wm') diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild index 9445eb2..b180ddb 100644 --- a/gui-wm/dwl/dwl-9999.ebuild +++ b/gui-wm/dwl/dwl-9999.ebuild @@ -132,6 +132,11 @@ BDEPEND=" virtual/pkgconfig " +MAKE_ARGS=( + PREFIX="${EPREFIX}/usr" + XWAYLAND="-DXWAYLAND" + XLIBS="xcb xcb-icccm" +) # The following src_configure function is implemented as default by portage, so # you only need to call it if you need a different behaviour. @@ -168,10 +173,7 @@ src_compile() { # worked around. tc-export CC PKG_CONFIG - emake \ - XWAYLAND="-DXWAYLAND" \ - XLIBS="xcb xcb-icccm" \ - dwl + emake "${MAKE_ARGS[@]}" dwl } # The following src_install function is implemented as default by portage, so @@ -201,10 +203,7 @@ src_install() { # Again, verify the Makefiles! We don't want anything falling # outside of ${D}. - emake \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" \ - install + emake "${MAKE_ARGS[@]}" DESTDIR="${D}" install dodoc CHANGELOG.md README.md } -- cgit v1.2.3