thttpd: update checksum, enable build_pie.
Diff verified against MacPorts tarball.
This commit is contained in:
parent
1f2e57a0a0
commit
ce514542a7
1 changed files with 5 additions and 4 deletions
|
@ -1,21 +1,22 @@
|
||||||
# Template file for 'thttpd'
|
# Template file for 'thttpd'
|
||||||
pkgname=thttpd
|
pkgname=thttpd
|
||||||
version=2.26
|
version=2.26
|
||||||
revision=2
|
revision=3
|
||||||
replaces="runit-void<20141013_2"
|
replaces="runit-void<20141013_2"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
build_pie=yes
|
||||||
short_desc="Tiny/turbo/throttling HTTP server"
|
short_desc="Tiny/turbo/throttling HTTP server"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="http://www.acme.com/software/thttpd/"
|
homepage="http://www.acme.com/software/thttpd/"
|
||||||
distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz"
|
distfiles="http://www.acme.com/software/thttpd/thttpd-${version}.tar.gz"
|
||||||
checksum=15b3f6c60f854061e333227e9ea9ff789d34a092c9365690a8c0d3ecfc85cbb7
|
checksum=4693d7c421fe1bd25553a8891cbb447d2bab3e0df01c029dadd79596b9bdb4c5
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed "s,-o bin -g bin,,g" -i Makefile.in
|
sed "s,-o bin -g bin,,g" -i Makefile.in
|
||||||
}
|
}
|
||||||
pre_build() {
|
do_build() {
|
||||||
export LD=$CC
|
make ${makejobs} CC=$CC LD=$CC CCOPT="$CFLAGS -D_DEFAULT_SOURCE"
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue