1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/databases/sqlclient/Makefile
David Chisnall f9197640d9 Fix configure options for gnustep-make
We were not setting the flag to select the GNUstep ABI, so were defaulting to
using the GCC-compatible version, which was likely to trigger a lot of subtle
bugs.  This was noticed when C++ exceptions thrown through Objective-C stack
frames caused segfaults.
2017-12-03 12:23:53 +00:00

31 lines
676 B
Makefile

# $FreeBSD$
PORTNAME= sqlclient
PORTVERSION= 1.8.1
PORTREVISION= 4
CATEGORIES= databases gnustep
MASTER_SITES= GNUSTEP/libs
DISTNAME= SQLClient-${PORTVERSION}
MAINTAINER= theraven@FreeBSD.org
COMMENT= Lightweight database abstraction layer
LICENSE= LGPL21
LIB_DEPENDS= libPerformance.so:devel/performance \
libsqlite3.so:databases/sqlite3
USES= gnustep pgsql
USE_GNUSTEP= base build
GNU_CONFIGURE= yes
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
USE_MYSQL=yes
LDFLAGS+= -pthread
DEFAULT_LIBVERSION= 1.5
DEFAULT_LIBVERSION2= 1.5.0
PLIST_SUB+= LIBVERSION2=${DEFAULT_LIBVERSION2}
PLIST_SUB+= MAJORLIBVERSION2=${DEFAULT_LIBVERSION2:C/([0-9]).*/\1/1}
.include <bsd.port.mk>