diff options
author | mar77i <mysatyre@gmail.com> | 2015-06-25 10:46:30 +0200 |
---|---|---|
committer | mar77i <mysatyre@gmail.com> | 2015-06-25 10:46:30 +0200 |
commit | 27aad93a2f5635d9ce9cebbf61b6947f90712151 (patch) | |
tree | 1a0875804775c203ee79ac72686624da9c730c4a | |
parent | 7f2c13ce77da5daacac06066666dcdd73e5aac7c (diff) | |
download | AUR-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-- | PKGBUILD | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 | ||