diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-02-15 21:33:25 +0800 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-02-15 21:33:25 +0800 |
commit | aea62ac573548ea40795902c0b0d00891f16d950 (patch) | |
tree | 564efd14d553a1a2b020275d456e35f8605bd0de /chinese | |
parent | 62b0e06bbad2d51be5f4205c55c6e932f3e5bad2 (diff) | |
download | freebsd-ports-gnome-aea62ac573548ea40795902c0b0d00891f16d950.tar.gz freebsd-ports-gnome-aea62ac573548ea40795902c0b0d00891f16d950.tar.zst freebsd-ports-gnome-aea62ac573548ea40795902c0b0d00891f16d950.zip |
Unbreak on head
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/fortune/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/chinese/fortune/Makefile b/chinese/fortune/Makefile index 958a7fe99db8..da735034a38b 100644 --- a/chinese/fortune/Makefile +++ b/chinese/fortune/Makefile @@ -18,13 +18,17 @@ NO_BUILD= yes USES= tar:bzip2 gmake SUB_FILES= pkg-message -.if !exists(/usr/games/fortune) || !exists(/usr/games/strfile) -IGNORE= needs the FreeBSD games distribution +.if exists(/usr/games/strfile) +STRFILE= /usr/games/strfile +.elif exists(/usr/bin/strfile) +STRFILE= /usr/bin/strfile +.else +IGNORE= needs strfile command. Please install games distribution of base system .endif post-patch: @${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|" \ - -e "s|strfile|/usr/games/strfile|" \ + -e "s|strfile|${STRFILE}|" \ ${WRKSRC}/src/Makefile .include <bsd.port.mk> |