diff options
author | mandree <mandree@FreeBSD.org> | 2011-05-24 00:21:51 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2011-05-24 00:21:51 +0800 |
commit | 397e63975b886c734a09f6665be7940afb1e21a7 (patch) | |
tree | 22af97c29b4fa096863eef3f7b7663a120cdfe21 /databases/libpbl | |
parent | 7a81b3f28a0c960809fcadfd155c3a69c944505d (diff) | |
download | freebsd-ports-gnome-397e63975b886c734a09f6665be7940afb1e21a7.tar.gz freebsd-ports-gnome-397e63975b886c734a09f6665be7940afb1e21a7.tar.zst freebsd-ports-gnome-397e63975b886c734a09f6665be7940afb1e21a7.zip |
Fix and update databases/libpbl to unbreak mail/spamprobe.
Diffstat (limited to 'databases/libpbl')
-rw-r--r-- | databases/libpbl/Makefile | 17 | ||||
-rw-r--r-- | databases/libpbl/distinfo | 4 | ||||
-rw-r--r-- | databases/libpbl/files/patch-pbl.h | 26 |
3 files changed, 36 insertions, 11 deletions
diff --git a/databases/libpbl/Makefile b/databases/libpbl/Makefile index a253e3537502..4c557cdbff5a 100644 --- a/databases/libpbl/Makefile +++ b/databases/libpbl/Makefile @@ -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: diff --git a/databases/libpbl/distinfo b/databases/libpbl/distinfo index ca127b9e62a0..e7c55c229247 100644 --- a/databases/libpbl/distinfo +++ b/databases/libpbl/distinfo @@ -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 diff --git a/databases/libpbl/files/patch-pbl.h b/databases/libpbl/files/patch-pbl.h new file mode 100644 index 000000000000..c0db35186869 --- /dev/null +++ b/databases/libpbl/files/patch-pbl.h @@ -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 */ |