aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormar77i <mysatyre@gmail.com>2015-06-25 10:46:30 +0200
committermar77i <mysatyre@gmail.com>2015-06-25 10:46:30 +0200
commit27aad93a2f5635d9ce9cebbf61b6947f90712151 (patch)
tree1a0875804775c203ee79ac72686624da9c730c4a
parent7f2c13ce77da5daacac06066666dcdd73e5aac7c (diff)
downloadAUR-27aad93a2f5635d9ce9cebbf61b6947f90712151.tar.gz
AUR-27aad93a2f5635d9ce9cebbf61b6947f90712151.tar.zst
AUR-27aad93a2f5635d9ce9cebbf61b6947f90712151.zip
use += in config.mk for make variables so system config is respected
-rw-r--r--PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fc9cf60..b68e76f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,6 +32,12 @@ prepare() {
32 -e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \ 32 -e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \
33 -e '/int defaultcs/s/= .*/= 1;/' \ 33 -e '/int defaultcs/s/= .*/= 1;/' \
34 -i config.def.h 34 -i config.def.h
35 sed \
36 -e 's/CPPFLAGS =/CPPFLAGS +=/g' \
37 -e 's/CFLAGS =/CFLAGS +=/g' \
38 -e 's/LDFLAGS =/LDFLAGS +=/g' \
39 -e 's/_BSD_SOURCE/_DEFAULT_SOURCE/' \
40 -i config.mk
35 sed '/@tic/d' -i Makefile 41 sed '/@tic/d' -i Makefile
36} 42}
37 43