pptp: Honour LDFLAGS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer 2016-10-15 18:50:27 -04:00
parent 56d74ba331
commit e0d5e2d86e
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@
name = pptp
version = 1.7.2
release = 2
release = 3
groups = Networking/Dialin
url = http://pptpclient.sourceforge.net/
@ -31,6 +31,7 @@ build
sed -i Makefile \
-e "s/install -o root -m 555 pptp/install -m 755 pptp/" \
-e "s/^OPTIMIZE=.*/OPTIMIZE=%{CFLAGS}/" \
-e "s/^LDFLAGS =/LDFLAGS=%{LDFLAGS}/" \
-e "s/^IP.*/IP=\/sbin\/ip/"
end