summaryrefslogtreecommitdiff
path: root/lang/qscheme
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 01:25:18 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 01:25:18 +0000
commit5555d89b50c7710cb97fb22ca6af251e6404e404 (patch)
tree700b4c9a8ec0af3f2f98ea0c4dc852268cc67aaf /lang/qscheme
parentRemove always-false/true conditions based on OSVERSION 500000 (diff)
Remove always-false/true conditions based on OSVERSION 500000
Notes
Notes: svn path=/head/; revision=200774
Diffstat (limited to 'lang/qscheme')
-rw-r--r--lang/qscheme/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/lang/qscheme/Makefile b/lang/qscheme/Makefile
index 11ca47e582ec..c536a8eb8da9 100644
--- a/lang/qscheme/Makefile
+++ b/lang/qscheme/Makefile
@@ -15,7 +15,8 @@ MAINTAINER= erik@smluc.org
COMMENT= A small and fast Scheme interpreter
BUILD_DEPENDS= ${LOCALBASE}/lib/libavcall.a:${PORTSDIR}/devel/ffcall\
- ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre
+ ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre \
+ ${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4
LIB_DEPENDS= getline:${PORTSDIR}/devel/libgetline
GNU_CONFIGURE= yes
@@ -25,7 +26,9 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}"
CONFIGURE_ARGS= --with-pcre-dir=${LOCALBASE}/lib \
--with-pcre-inc=${LOCALBASE}/include \
--with-avcall-dir=${LOCALBASE}/lib \
- --with-avcall-inc=${LOCALBASE}/include
+ --with-avcall-inc=${LOCALBASE}/include \
+ --with-gmp-dir=${LOCALBASE}/lib \
+ --with-gmp-inc=${LOCALBASE}/include
post-patch:
${REINPLACE_CMD} \
@@ -41,10 +44,4 @@ post-patch:
BROKEN= "Does not build on amd64 or ia64"
.endif
-.if ${OSVERSION} >= 500000
-BUILD_DEPENDS+= ${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4
-CONFIGURE_ARGS+= --with-gmp-dir=${LOCALBASE}/lib \
- --with-gmp-inc=${LOCALBASE}/include
-.endif
-
.include <bsd.port.post.mk>