aboutsummaryrefslogtreecommitdiffstats
path: root/www/ssserver
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-10-04 15:13:16 +0800
committermarcus <marcus@FreeBSD.org>2004-10-04 15:13:16 +0800
commitf42ddef20b993478130341cfd826d0de1b4d41be (patch)
treefbe1861379ea41e249050aad3dfc83ae58e0ae01 /www/ssserver
parent442bf9c7ed8905bd05053842b44ceae95fea8c44 (diff)
downloadfreebsd-ports-gnome-f42ddef20b993478130341cfd826d0de1b4d41be.tar.gz
freebsd-ports-gnome-f42ddef20b993478130341cfd826d0de1b4d41be.tar.zst
freebsd-ports-gnome-f42ddef20b993478130341cfd826d0de1b4d41be.zip
Add a dependency on compat4x if building on 5.X systems or higher.
Reported by: kris Approved by: portmgr (implicit)
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>