dmenu: fix PIE.
This commit is contained in:
parent
117f06ce7d
commit
3a388944a3
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dmenu'
|
||||
pkgname=dmenu
|
||||
version=4.6
|
||||
revision=1
|
||||
revision=2
|
||||
makedepends="libXinerama-devel libXft-devel freetype-devel"
|
||||
short_desc="A generic menu for X"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -13,12 +13,13 @@ checksum=4a7a24008a621c3cd656155ad91ab8136db8f0d3b9ec56dafeec518cabda96b3
|
|||
build_options="fuzzymatch"
|
||||
desc_option_fuzzymatch="Enable Fuzzymatch support"
|
||||
|
||||
pre_build() {
|
||||
local srcdir="${XBPS_SRCDISTDIR}/${pkgname}-${version}/"
|
||||
post_extract() {
|
||||
if [ "$build_option_fuzzymatch" ]; then
|
||||
msg_normal "Applying fuzzymatch patches"
|
||||
patch -p1 < "${FILESDIR}/fuzzymatch.patch"
|
||||
fi
|
||||
sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \
|
||||
-e '/LDFLAGS/{s/-s//;s/=/+=/}' config.mk
|
||||
}
|
||||
|
||||
do_build() {
|
||||
|
|
Loading…
Reference in New Issue