1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/databases/dbow/Makefile
Muhammad Moinur Rahman cd6e46af1e
databases/dbow: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-22 19:19:33 +01:00

26 lines
588 B
Makefile

PORTNAME= dbow
PORTVERSION= 0.7
PORTREVISION= 2
CATEGORIES= databases devel
MASTER_SITES= SF
MAINTAINER= dtynan@kalopa.com
COMMENT= Database object generator for C, Perl, PHP, etc.
WWW= http://dbow.sf.net/
USES= mysql
MAKE_ENV+= MYSQL_INC=${LOCALBASE}/include/mysql \
MYSQL_LIB=${LOCALBASE}/lib/mysql
# Fix build with clang11
CFLAGS+= -fcommon
post-patch:
@${REINPLACE_CMD} -e "s|CFLAGS=|CFLAGS+=|g" \
-e "s|^MYSQL_INC=|MYSQL_INC?=|" \
-e "s|^MYSQL_LIB=|MYSQL_LIB?=|" \
${WRKSRC}/example/Makefile ${WRKSRC}/lib/Makefile \
${WRKSRC}/src/Makefile
.include <bsd.port.mk>