freebsd-ports/lang/qore/Makefile
Mathieu Arnold a0bcd2cf68 Use USES=pathfix where applicable.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:21:13 +00:00

46 lines
1,002 B
Makefile

# $FreeBSD$
PORTNAME= qore
PORTVERSION= 0.8.12
CATEGORIES= lang
MAINTAINER= estrabd@gmail.com
COMMENT= Qore Programming Language
LICENSE= MIT
LIB_DEPENDS= libpcre.so:devel/pcre \
libmpfr.so:math/mpfr
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \
${LOCALBASE}/bin/bison:devel/bison \
${LOCALBASE}/bin/bash:shells/bash
BROKEN_powerpc64= Does not build
USES= gmake iconv libtool:build pathfix autoreconf
USE_OPENSSL= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= qorelanguage
CONFIGURE_ENV= LEX="${LOCALBASE}/bin/flex" PTHREAD_LIBS="-lpthread"
CONFIGURE_ARGS= --disable-debug --disable-static --with-doxygen=no
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= PORTVERSION=${PORTVERSION}
INSTALL_TARGET= install-strip
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
pre-configure:
cd ${WRKSRC}; ./reconf.sh
post-configure:
${REINPLACE_CMD} -e 's|; make|; $${MAKE}|g' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>