freebsd-ports/databases/libgdamm5/Makefile
Baptiste Daroussin 56a6c38e8d Drop build dependency on GNU m4.
m4 from base is able to do the job, if properly wrapped to mimic GNU m4

Differential Revision:	https://reviews.freebsd.org/D21835
2019-10-01 14:35:23 +00:00

35 lines
879 B
Makefile

# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$
PORTNAME= libgdamm
PORTVERSION= 4.99.11
CATEGORIES= databases gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= bland@FreeBSD.org
COMMENT= C++ wrapper for libgda5 library
USES= gmake libtool pathfix pkgconfig tar:xz compiler:c++11-lang gnome
USE_CXXSTD= c++11
USE_GNOME= libgda5 glibmm
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-documentation
BINARY_WRAPPERS= gm4
OPTIONS_DEFINE= BDB
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBDB} || exists(${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc)
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc:databases/libgda5-bdb
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/libgda-bdb-5.0.pc:databases/libgda5-bdb
PLIST_SUB+= BDB=""
.else
PLIST_SUB+= BDB=""
.endif
.include <bsd.port.mk>