aboutsummaryrefslogtreecommitdiff
path: root/databases/libpbl
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 00:24:54 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 00:24:54 +0000
commite74f1f2ba2a728af887a83b377b13746054b76e5 (patch)
tree9e8d0df9fa6e67d5a64401e5b706db886bfc98aa /databases/libpbl
parent9f89962a6d493602e7eca1e2fdbf365561f1e99f (diff)
downloadports-e74f1f2ba2a728af887a83b377b13746054b76e5.tar.gz
ports-e74f1f2ba2a728af887a83b377b13746054b76e5.zip
Remove always-false/true conditions based on OSVERSION 500000
Notes
Notes: svn path=/head/; revision=200769
Diffstat (limited to 'databases/libpbl')
-rw-r--r--databases/libpbl/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/databases/libpbl/Makefile b/databases/libpbl/Makefile
index 1ac09d539021..f329af58c1c7 100644
--- a/databases/libpbl/Makefile
+++ b/databases/libpbl/Makefile
@@ -22,14 +22,10 @@ PLIST_FILES= lib/libpbl.a include/pbl.h
PORTDOCS= *
.endif
-.include <bsd.port.pre.mk>
-
post-extract:
@${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.c ${WRKSRC}/pblhash.c
@@ -44,4 +40,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>