proftpd: fix cross
This commit is contained in:
parent
64fba32a89
commit
c8db68194c
2 changed files with 12 additions and 1 deletions
11
srcpkgs/proftpd/patches/cross.patch
Normal file
11
srcpkgs/proftpd/patches/cross.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lib/libcap/Makefile 2017-04-10 04:31:02.000000000 +0200
|
||||
+++ - 2018-08-28 19:50:14.092251299 +0200
|
||||
@@ -26,7 +26,7 @@
|
||||
all: $(LIBNAME)
|
||||
|
||||
_makenames: _makenames.c cap_names.sed
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
|
||||
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $< -o $@
|
||||
|
||||
cap_names.h: _makenames
|
||||
./_makenames > cap_names.h
|
|
@ -3,6 +3,7 @@ pkgname=proftpd
|
|||
version=1.3.6
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
makedepends="libcap-devel"
|
||||
short_desc="Highly configurable GPL-licensed FTP server software"
|
||||
maintainer="John <johnz@posteo.net>"
|
||||
license="GPL-3.0-or-later"
|
||||
|
@ -11,7 +12,6 @@ homepage="http://www.proftpd.org/"
|
|||
distfiles="https://github.com/proftpd/proftpd/archive/v${version}.tar.gz"
|
||||
checksum=91ef74b143495d5ff97c4d4770c6804072a8c8eb1ad1ecc8cc541b40e152ecaf
|
||||
conf_files="/etc/proftpd.conf"
|
||||
nocross="https://travis-ci.org/Johnnynator/void-packages/jobs/385821450"
|
||||
|
||||
proftpd-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Add table
Reference in a new issue