8babcb102d
arm/gcc 2.95.3. Add a workaround.
23 lines
600 B
Makefile
23 lines
600 B
Makefile
# $NetBSD: Makefile,v 1.11 2004/01/31 01:23:16 kristerw Exp $
|
|
|
|
DISTNAME= cdb-0.75
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://cr.yp.to/cdb/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://cr.yp.to/cdb.html
|
|
COMMENT= Creates and reads constant databases
|
|
|
|
ALL_TARGET= it
|
|
INSTALL_TARGET= setup check
|
|
|
|
pre-build:
|
|
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
|
${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
|
|
${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/cdb.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/cdb.a ${PREFIX}/lib/libcdb.a
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|