diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-10-04 07:13:16 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-10-04 07:13:16 +0000 |
commit | 10f266c4f0e5915f245b0183068297b65635cd8a (patch) | |
tree | 3d1905240c42f38d5be377dc80ba9931b83b85e4 /devel/p4v | |
parent | 5c948683eeab2c1a509dbf6ab6151d333eefba3c (diff) | |
download | ports-10f266c4f0e5915f245b0183068297b65635cd8a.tar.gz ports-10f266c4f0e5915f245b0183068297b65635cd8a.zip |
Add a dependency on compat4x if building on 5.X systems or higher.
Reported by: kris
Approved by: portmgr (implicit)
Notes
Notes:
svn path=/head/; revision=118530
Diffstat (limited to 'devel/p4v')
-rw-r--r-- | devel/p4v/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p4v/Makefile b/devel/p4v/Makefile index 0a74361f262f..bed95b3f11df 100644 --- a/devel/p4v/Makefile +++ b/devel/p4v/Makefile @@ -64,6 +64,12 @@ P4V_IMGS= p4v_file_add.png p4v_file_add_other.png p4v_file_delete.png \ p4v_file_txt.png p4v_file_ws.png p4v_filter.png \ p4v_merge_screenshot.png p4v_diff_screenshot.png +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500000 +LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/p4v ${PREFIX}/bin .if !defined(NOPORTDOCS) @@ -79,4 +85,4 @@ do-install: post-install: ${SED} -e 's!%%PREFIX%%!${PREFIX}!' ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |