aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libpbl
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-04 08:24:54 +0800
committeredwin <edwin@FreeBSD.org>2007-10-04 08:24:54 +0800
commitab5645fbd297bdc50871bb1ce38ca93beddae3c4 (patch)
treed16df9a69a4fb5843308ff8d6a3da8b903cb2d79 /databases/libpbl
parentee30f9ec2012ee5203ce83ed81f789c62a2279f2 (diff)
downloadfreebsd-ports-gnome-ab5645fbd297bdc50871bb1ce38ca93beddae3c4.tar.gz
freebsd-ports-gnome-ab5645fbd297bdc50871bb1ce38ca93beddae3c4.tar.zst
freebsd-ports-gnome-ab5645fbd297bdc50871bb1ce38ca93beddae3c4.zip
Remove always-false/true conditions based on OSVERSION 500000
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>