1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/lang/urweb/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

67 lines
1.3 KiB
Makefile

# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$
PORTNAME= urweb
PORTVERSION= 20150520
PORTREVISION= 2
CATEGORIES= lang www
MASTER_SITES= http://www.impredicative.com/ur/
MAINTAINER= beyert@cs.ucr.edu
COMMENT= Ultimate host for embedded domain-specific languages
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= mlton:lang/mlton
CONFIGURE_ENV= CCARGS="-I${LOCALBASE}/include"
GNU_CONFIGURE= yes
USES= gmake libtool tar:tgz ssl
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386 amd64
CFLAGS+= -pthread
OPTIONS_DEFINE= ELISP PGSQL SQLITE MYSQL
OPTIONS_DEFAULT= ELISP PGSQL
OPTIONS_EXCLUDE= NLS DOCS
ELISP_DESC= Install contributed Emacs Lisp
.include <bsd.port.options.mk>
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
.if ${PORT_OPTIONS:MELISP}
PLIST_SUB+= ELISP=""
CONFIGURE_ARGS+= with_emacs=yes
.else
PLIST_SUB+= ELISP="@comment "
CONFIGURE_ARGS+= with_emacs=no
.endif
.if ${PORT_OPTIONS:MPGSQL}
USES+= pgsql
WANT_PGSQL= server
.else
CONFIGURE_ENV+= PGHEADER="no"
.endif
.if ${PORT_OPTIONS:MSQLITE}
USES+= sqlite
.else
CONFIGURE_ENV+= SQHEADER="no"
.endif
.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
.else
CONFIGURE_ENV+= MSHEADER="no"
.endif
post-patch:
${REINPLACE_CMD} -e "s|postgresql/libpq-fe.h|libpq-fe.h|g" \
${WRKSRC}/configure
.include <bsd.port.mk>