2549c1da08
On 8 and 9: gcc -g -O -Wall -Wmissing-prototypes -Wmissing-declarations -I/usr/local/include/postgresql/server -I/usr/local/include pg_filedump.c -c In file included from pg_filedump.c:28: pg_filedump.h:32:22: error: postgres.h: No such file or directory On 10 and head: gcc -g -O -Wall -Wmissing-prototypes -Wmissing-declarations -I/usr/local/include/postgresql/server -I/usr/local/include pg_filedump.c -c make[1]: exec(gcc) failed (No such file or directory) *** Error code 1 Reported by: pkg-fallout since august 2013 With hat: portmgr
35 lines
935 B
Makefile
35 lines
935 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pg_filedump
|
|
PORTVERSION= 8.4
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://sources.redhat.com/rhdb/tools/
|
|
EXTRACT_SUFX= .tar
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= Utility to format PostgreSQL heap, index, etc into human-readable form
|
|
|
|
FETCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/databases/postgresql84-client:patch
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/databases/postgresql84-client:patch
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-8.4.0
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
BROKEN= Does not compile
|
|
|
|
PG84VER!= cd ${PORTSDIR}/databases/postgresql84-client && ${MAKE} -V PORTVERSION
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s|8.4.0|${PG84VER}|" ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pg_filedump ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.pg_filedump ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|