mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
021be14f65
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Categories J-L. CR: D305 Approved by: portmgr (swills)
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Created by: erik@smluc.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qscheme
|
|
PORTVERSION= 0.5.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= http://www.sof.ch/dan/qscheme/files/
|
|
|
|
MAINTAINER= erik@bz.bzflag.bz
|
|
COMMENT= Small and fast Scheme interpreter
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libavcall.a:${PORTSDIR}/devel/ffcall\
|
|
${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre \
|
|
${LOCALBASE}/lib/libgmp.a:${PORTSDIR}/math/gmp
|
|
LIB_DEPENDS= getline:${PORTSDIR}/devel/libgetline
|
|
|
|
USES= gmake perl5
|
|
USE_PERL5= build
|
|
GNU_CONFIGURE= yes
|
|
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-gmp-dir=${LOCALBASE}/lib \
|
|
--with-gmp-inc=${LOCALBASE}/include
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
${REINPLACE_CMD} \
|
|
-e "s,^LIBS = @LIBS@,& ${PTHREAD_LIBS} -L${LOCALBASE}/lib -lgetline," \
|
|
-e "s,^CFLAGS = @CFLAGS@,& ${PTHREAD_CFLAGS}," \
|
|
${WRKSRC}/Makefile.in
|
|
${REINPLACE_CMD} \
|
|
-e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "amd64" || ${ARCH} == "sparc64"
|
|
# because it uses static pcre lib, which is compiled without -fPIC. pcre problem likely.
|
|
BROKEN= Does not build on amd64, ia64, or sparc64
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|