mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 11:33:49 +02:00
scron: use our {C,LD}FLAGS
This commit is contained in:
parent
198b081a55
commit
e22e6d855f
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'scron'
|
# Template file for 'scron'
|
||||||
pkgname=scron
|
pkgname=scron
|
||||||
version=0.3.2
|
version=0.3.2
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Simple cron daemon"
|
short_desc="Simple cron daemon"
|
||||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||||
|
@ -16,6 +16,9 @@ conf_files="/etc/crontab"
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# STFU gcc
|
# STFU gcc
|
||||||
sed -i 's|BSD_SOURCE|DEFAULT_SOURCE|g' Makefile
|
sed -i 's|BSD_SOURCE|DEFAULT_SOURCE|g' Makefile
|
||||||
|
sed -i 's|^CC|#CC|g' Makefile
|
||||||
|
sed -i 's|^CFLAGS|#CFLAGS|g' Makefile
|
||||||
|
sed -i 's|^LDFLAGS|#LDFLAGS|g' Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue