aboutsummaryrefslogtreecommitdiff
path: root/www/ssserver
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-04 07:13:16 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-04 07:13:16 +0000
commit10f266c4f0e5915f245b0183068297b65635cd8a (patch)
tree3d1905240c42f38d5be377dc80ba9931b83b85e4 /www/ssserver
parent5c948683eeab2c1a509dbf6ab6151d333eefba3c (diff)
downloadports-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 'www/ssserver')
-rw-r--r--www/ssserver/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/ssserver/Makefile b/www/ssserver/Makefile
index 371212e7983d..5bee874924f1 100644
--- a/www/ssserver/Makefile
+++ b/www/ssserver/Makefile
@@ -18,6 +18,12 @@ NO_BUILD= yes
INSTALL_RWDATA= ${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m 666
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
do-install:
@${MKDIR} ${PREFIX}/www/cgi-bin/ssserverdata
@${INSTALL_PROGRAM} ${WRKSRC}/ssserver ${PREFIX}/www/cgi-bin
@@ -83,4 +89,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>