nawk: switch to relative symlinks in alternatives.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'nawk'
|
# Template file for 'nawk'
|
||||||
pkgname=nawk
|
pkgname=nawk
|
||||||
version=20121220
|
version=20121220
|
||||||
revision=2
|
revision=3
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
hostmakedepends="bison"
|
hostmakedepends="bison"
|
||||||
short_desc="The one, true implementation of AWK"
|
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
|
checksum=8dc092165c5a4e1449f964286483d06d0dbfba4b0bd003cb5dab30de8f6d9b83
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
awk:/usr/bin/awk:/usr/bin/nawk
|
awk:awk:/usr/bin/nawk
|
||||||
awk:/usr/share/man/man1/awk.1:/usr/share/man/man1/nawk.1"
|
awk:awk.1:/usr/share/man/man1/nawk.1"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
sed -i '/maketab/s/CC/BUILD_CC/;s/CFLAGS/BUILD_CFLAGS/' makefile
|
sed -i '/maketab/s/CC/BUILD_CC/;s/CFLAGS/BUILD_CFLAGS/' makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user