1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Fix build with Perl 5.14 [1]

- Fix typo: PORTREVISION
- Make portlint happier

PR:		ports/157222 [1]
Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-05-31 06:01:41 +00:00
parent d7e038be4f
commit 861d4ba907
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274864
2 changed files with 21 additions and 2 deletions

View File

@ -6,7 +6,7 @@
PORTNAME= DBD-cego
PORTVERSION= 1.1.14
PORTRESIVION= 1
PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= http://www.lemke-it.com/
PKGNAMEPREFIX= p5-
@ -15,7 +15,7 @@ MAINTAINER= fbsd-ports@opsec.eu
COMMENT= A Cego DBI driver for Perl 5
BUILD_DEPENDS= p5-DBI>=1.61:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
RUN_DEPENDS= p5-DBI>=1.61:${PORTSDIR}/databases/p5-DBI
LIB_DEPENDS= cego.1:${PORTSDIR}/databases/cego
LICENSE= GPLv2

View File

@ -0,0 +1,19 @@
--- CegoXS.h.orig 2010-11-21 09:25:27.000000000 +0800
+++ CegoXS.h 2011-05-29 21:11:15.361979766 +0800
@@ -9,4 +9,16 @@
#include "dbdimp.h"
#include <dbd_xsh.h>
+#ifndef sv_yes
+#define sv_yes PL_sv_yes
+#endif
+
+#ifndef sv_no
+#define sv_no PL_sv_no
+#endif
+
+#ifndef dirty
+#define dirty PL_dirty
+#endif
+
#endif