diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2000-01-27 02:45:36 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2000-01-27 02:45:36 +0800 |
commit | 9a6706a300a16010eb96913773bd811c52572d42 (patch) | |
tree | 862759d91a2927edca470b23f6b848866b662d19 /net/pchar | |
parent | 04342a43631838362a2404f656322f3e98522922 (diff) | |
download | freebsd-ports-gnome-9a6706a300a16010eb96913773bd811c52572d42.tar.gz freebsd-ports-gnome-9a6706a300a16010eb96913773bd811c52572d42.tar.zst freebsd-ports-gnome-9a6706a300a16010eb96913773bd811c52572d42.zip |
- Fix installation failure
- Use ${OSVERSION} instead of ${USE_INET6}
PR: 16376
Partly Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>
Approved by: obrien
Diffstat (limited to 'net/pchar')
-rw-r--r-- | net/pchar/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/pchar/Makefile b/net/pchar/Makefile index 16d1ffcf2e3a..cd03b2752cbf 100644 --- a/net/pchar/Makefile +++ b/net/pchar/Makefile @@ -14,18 +14,18 @@ MASTER_SITES= http://www.ca.sandia.gov/~bmah/Software/pchar/ MAINTAINER= obrien@FreeBSD.org GNU_CONFIGURE= yes -.if defined(USE_INET6) +MAN8= pchar.8 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 400014 CONFIGURE_ARGS= --with-ipv6 .endif -MAN8= pchar.8 -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin - @${PERL} -pi.orig -e 's/pchar 1/pchar 8/g' ${WRKSRC}/pchar.1 - ${INSTALL_MAN} ${WRKSRC}/pchar.1 ${PREFIX}/man/man8/pchar.8 .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${PREFIX}/share/doc/pchar cd ${WRKSRC} ; ${INSTALL_DATA} README FAQ ${PREFIX}/share/doc/pchar .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |