diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-01-21 19:36:15 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-01-21 19:36:15 +0000 |
commit | 79031ead2a112fd02997550be6f2bf61fd175290 (patch) | |
tree | 7512e97ee3849609f00c0250ecd33d66c876661b /databases/libpbl | |
parent | cfedb2f0e8688cff389d5cce2531ba643b7d2cda (diff) | |
download | ports-79031ead2a112fd02997550be6f2bf61fd175290.tar.gz ports-79031ead2a112fd02997550be6f2bf61fd175290.zip |
Notes
Diffstat (limited to 'databases/libpbl')
-rw-r--r-- | databases/libpbl/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/databases/libpbl/Makefile b/databases/libpbl/Makefile index 1aefaa950ea7..9517895e6d3f 100644 --- a/databases/libpbl/Makefile +++ b/databases/libpbl/Makefile @@ -26,11 +26,14 @@ PORTDOCS= * .include <bsd.port.pre.mk> post-extract: - @${REINPLACE_CMD} -e 's/= -Wall -O3/+= -Wall/' ${WRKSRC}/makefile + @${REINPLACE_CMD} -e 's/= -Wall -O3/+= -Wall/' \ + -e 's/^CC=/CC?=/' ${WRKSRC}/makefile +.if ${OSVERSION} >= 500000 @${REINPLACE_CMD} -e 's/%d/%zd/' ${WRKSRC}/pbl.c +.endif @${REINPLACE_CMD} -e 's/dir\.h/dirent\.h/' ${WRKSRC}/pbl.h @${REINPLACE_CMD} -e 's/malloc\.h/stdlib\.h/' \ - ${WRKSRC}/pbl.h ${WRKSRC}/pbl.c ${WRKSRC}/pblhash.c + ${WRKSRC}/pbl.c ${WRKSRC}/pblhash.c do-install: @${INSTALL_DATA} ${WRKSRC}/libpbl.a ${LOCALBASE}/lib |