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