aboutsummaryrefslogtreecommitdiff
path: root/lang/cmucl/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-20 09:23:08 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-20 09:23:08 +0000
commit17236d4e76b680ede711d05da40183372d073cd6 (patch)
tree2348c735c7a7b2db7885a43f5cd615657c7a7d36 /lang/cmucl/Makefile
parenta74a70fbe4157435f2ed41ab0239d48e141a62fd (diff)
downloadports-17236d4e76b680ede711d05da40183372d073cd6.tar.gz
ports-17236d4e76b680ede711d05da40183372d073cd6.zip
Add LIB_DEPEND on compat4x if running on >= 500000x
Noticed by: bento
Notes
Notes: svn path=/head/; revision=73634
Diffstat (limited to 'lang/cmucl/Makefile')
-rw-r--r--lang/cmucl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/cmucl/Makefile b/lang/cmucl/Makefile
index fa74a8e1917f..b779da8ab177 100644
--- a/lang/cmucl/Makefile
+++ b/lang/cmucl/Makefile
@@ -21,6 +21,12 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
MAN1= lisp.1 cmucl.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
do-install:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/bin/lisp ${PREFIX}/bin
(cd ${WRKDIR} && tar fc - lib ) | (cd ${PREFIX} && tar fx -)
@@ -31,4 +37,4 @@ do-install:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/man/man1/lisp.1 \
${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>