Fix and update databases/libpbl to unbreak mail/spamprobe.
This commit is contained in:
parent
e9013eabd8
commit
c48304befe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274523
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= libpbl
|
||||
PORTVERSION= 1.04
|
||||
PORTVERSION= 1.04.04
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://www.mission-base.com/peter/source/
|
||||
DISTNAME= pbl_${PORTVERSION:S/./_/g}
|
||||
@ -14,12 +14,12 @@ DISTNAME= pbl_${PORTVERSION:S/./_/g}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Peter Graf's Program Base Library
|
||||
|
||||
BROKEN= checksum mismatch
|
||||
|
||||
MAKEFILE= makefile
|
||||
PLIST_FILES= lib/libpbl.a include/pbl.h
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
|
||||
.ifndef(NOPORTDOCS)
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
@ -33,13 +33,12 @@ post-extract:
|
||||
${WRKSRC}/*.c
|
||||
|
||||
do-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/libpbl.a ${LOCALBASE}/lib
|
||||
@${INSTALL_DATA} ${WRKSRC}/pbl.h ${LOCALBASE}/include
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/lib ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/libpbl.a ${PREFIX}/lib/
|
||||
${INSTALL_DATA} ${WRKSRC}/pbl.h ${PREFIX}/include/
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
post-build test regression-test check:
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (pbl_1_04.tar.gz) = 6f3b83ee1ea0aab729e0527a3da9a3f212e77a2935a92d5b5d5d77eb08c2527c
|
||||
SIZE (pbl_1_04.tar.gz) = 268095
|
||||
SHA256 (pbl_1_04_04.tar.gz) = 20f0ab1af09a22a8f3cb3ce3832247a6b51d8db57211f6bb0794af9485229a67
|
||||
SIZE (pbl_1_04_04.tar.gz) = 2037015
|
||||
|
26
databases/libpbl/files/patch-pbl.h
Normal file
26
databases/libpbl/files/patch-pbl.h
Normal file
@ -0,0 +1,26 @@
|
||||
--- pbl.h.orig 2011-05-23 18:11:38.000000000 +0200
|
||||
+++ pbl.h 2011-05-23 18:16:48.000000000 +0200
|
||||
@@ -643,7 +643,11 @@
|
||||
/**
|
||||
* The heap.
|
||||
*/
|
||||
+#ifdef __cplusplus
|
||||
+typedef PblList PblHeap;
|
||||
+#else
|
||||
typedef struct PblList PblHeap;
|
||||
+#endif
|
||||
|
||||
/**
|
||||
* The priority queue entry struct.
|
||||
@@ -663,7 +667,11 @@
|
||||
/**
|
||||
* The priority queue.
|
||||
*/
|
||||
+#ifdef __cplusplus
|
||||
+typedef PblList PblPriorityQueue;
|
||||
+#else
|
||||
typedef struct PblList PblPriorityQueue;
|
||||
+#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
/* variable declarations */
|
Loading…
Reference in New Issue
Block a user