nawk: switch to relative symlinks in alternatives.

This commit is contained in:
Juan RP 2015-10-31 13:31:59 +01:00
parent f6c96aa95e
commit 5052413ec4

View file

@ -1,7 +1,7 @@
# Template file for 'nawk'
pkgname=nawk
version=20121220
revision=2
revision=3
create_wrksrc=yes
hostmakedepends="bison"
short_desc="The one, true implementation of AWK"
@ -12,8 +12,8 @@ distfiles="http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz"
checksum=8dc092165c5a4e1449f964286483d06d0dbfba4b0bd003cb5dab30de8f6d9b83
alternatives="
awk:/usr/bin/awk:/usr/bin/nawk
awk:/usr/share/man/man1/awk.1:/usr/share/man/man1/nawk.1"
awk:awk:/usr/bin/nawk
awk:awk.1:/usr/share/man/man1/nawk.1"
do_configure() {
sed -i '/maketab/s/CC/BUILD_CC/;s/CFLAGS/BUILD_CFLAGS/' makefile