openbsd-netcat: switch to relative symlinks in alternatives.

This commit is contained in:
Juan RP 2015-10-31 13:35:54 +01:00
parent 22443fc032
commit bd18b86dc0
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'openbsd-netcat'
pkgname=openbsd-netcat
version=1.105p7
revision=2
revision=3
wrksrc="netcat-openbsd-${version%p*}"
hostmakedepends="pkg-config"
makedepends="libbsd-devel"
@ -17,8 +17,8 @@ checksum="
eee759327ffea293e81d0dde67921b7fcfcad279ffd7a2c9d037bbc8f882b363"
alternatives="
nc:/usr/bin/nc:/usr/bin/openbsd-nc
nc:/usr/share/man/man1/nc.1:/usr/share/man/man1/openbsd-nc.1"
nc:nc:/usr/bin/openbsd-nc
nc:nc.1:/usr/share/man/man1/openbsd-nc.1"
do_build() {
cat ../debian/patches/*.patch | patch -p1