aboutsummaryrefslogtreecommitdiff
path: root/databases/gigabase/Makefile
blob: e77c61f471fa8d05265c25f8b88ef0f0acf9761f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ports collection makefile for:	gigabase
# Date created:			15 August 2000
# Whom:				Sergey A. Osokin <osa@FreeBSD.org.ru>
#
# $FreeBSD$
#

PORTNAME=	gigabase
PORTVERSION=	3.82
CATEGORIES=	databases
MASTER_SITES=	http://www.garret.ru/

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	Object-Relational Database Management System

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool
CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

post-patch:
.if ${OSVERSION} < 601103
	@${REINPLACE_CMD} -e \
		'/GETHOSTBYNAME_R/s|^#define|// #define|g' ${WRKSRC}/config.h
.endif

.include <bsd.port.post.mk>