Bug 183359 - [patch update] databases/p5-DBD-cego 1.2.6 -> 1.2.7
Summary: [patch update] databases/p5-DBD-cego 1.2.6 -> 1.2.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-27 13:10 UTC by Kurt Jaeger
Modified: 2013-10-27 18:10 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.73 KB, patch)
2013-10-27 13:10 UTC, Kurt Jaeger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger 2013-10-27 13:10:00 UTC
	databases/p5-DBD-cego 1.2.6 -> 1.2.7

How-To-Repeat: 	-
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-27 13:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-10-27 17:57:24 UTC
Responsible Changed
From-To: perl->sunpoet

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-10-27 18:05:50 UTC
Author: sunpoet
Date: Sun Oct 27 18:05:42 2013
New Revision: 331793
URL: http://svnweb.freebsd.org/changeset/ports/331793

Log:
  - Update to 1.2.7
  - While I'm here:
    - Convert to new LIB_DEPENDS format
    - Respect CC
    - Use USES=gmake
    - Support STAGEDIR
  
  Changes:	http://www.lemke-it.com/litexec?request=pubclogcegodbd
  PR:		ports/183359
  Submitted by:	Kurt Jaeger <fbsd-ports@opsec.eu> (maintainer)

Modified:
  head/databases/p5-DBD-cego/Makefile
  head/databases/p5-DBD-cego/distinfo   (contents, props changed)
  head/databases/p5-DBD-cego/files/patch-makefile-pl
  head/databases/p5-DBD-cego/pkg-plist   (contents, props changed)

Modified: head/databases/p5-DBD-cego/Makefile
==============================================================================
--- head/databases/p5-DBD-cego/Makefile	Sun Oct 27 17:59:35 2013	(r331792)
+++ head/databases/p5-DBD-cego/Makefile	Sun Oct 27 18:05:42 2013	(r331793)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	DBD-cego
-PORTVERSION=	1.2.6
+PORTVERSION=	1.2.7
 CATEGORIES=	databases perl5
 MASTER_SITES=	http://www.lemke-it.com/
 PKGNAMEPREFIX=	p5-
@@ -14,20 +14,17 @@ LICENSE=	GPLv3
 
 BUILD_DEPENDS=	p5-DBI>=1.628:${PORTSDIR}/databases/p5-DBI
 RUN_DEPENDS=	p5-DBI>=1.628:${PORTSDIR}/databases/p5-DBI
-LIB_DEPENDS=	cego.1:${PORTSDIR}/databases/cego
+LIB_DEPENDS=	libcego.so:${PORTSDIR}/databases/cego
 
 .if defined(.PARSEDIR)
-USE_GMAKE=	yes
+USES=		gmake
 .endif
 
-USES=		perl5
+USES+=		perl5
 USE_PERL5=	configure
 CC:=		${CXX}
 
-MAN3=		DBD::Cego.3
-
-NO_STAGE=	yes
 post-configure:
-	@${REINPLACE_CMD} -e 's|fno-strict-aliasing|fno-strict-aliasing -fpermissive|g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|fno-strict-aliasing|& -fpermissive|g' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>

Modified: head/databases/p5-DBD-cego/distinfo
==============================================================================
--- head/databases/p5-DBD-cego/distinfo	Sun Oct 27 17:59:35 2013	(r331792)
+++ head/databases/p5-DBD-cego/distinfo	Sun Oct 27 18:05:42 2013	(r331793)
@@ -1,2 +1,2 @@
-SHA256 (DBD-cego-1.2.6.tar.gz) = d944addd62cb3c6bdc853269a7f645f99a7fa255113c7279c81e06313d4b98e9
-SIZE (DBD-cego-1.2.6.tar.gz) = 28192
+SHA256 (DBD-cego-1.2.7.tar.gz) = cf7febaaedbb545f2fe0308dd09e3613653bd302b7837c7213c3267946004f59
+SIZE (DBD-cego-1.2.7.tar.gz) = 28293

Modified: head/databases/p5-DBD-cego/files/patch-makefile-pl
==============================================================================
--- head/databases/p5-DBD-cego/files/patch-makefile-pl	Sun Oct 27 17:59:35 2013	(r331792)
+++ head/databases/p5-DBD-cego/files/patch-makefile-pl	Sun Oct 27 18:05:42 2013	(r331793)
@@ -1,6 +1,6 @@
 --- Makefile.PL-orig	2013-07-09 09:44:14.000000000 +0200
 +++ Makefile.PL	2013-07-09 09:48:24.000000000 +0200
-@@ -28,33 +28,23 @@
+@@ -28,33 +28,22 @@
  Getopt::Long::GetOptions(
      $opt,
      "help",
@@ -34,9 +34,8 @@
 -    'OPTIMIZE'      => '-O6 -DNDEBUG=1',
 +    'INC'           => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include',
 +    'MYEXTLIB'      => '-lcego -llfcxml -llfcbase',
-+    'CC'            => 'g++',
 +    'CCFLAGS'       => '-O2 -pipe -fno-strict-aliasing -fpermissive',
-+    'LD'            => 'g++ -L/usr/local/lib',
++    'LD'            => '$(CC) -L/usr/local/lib',
 +    'XSPROTOARG'    => '-noprototypes',
 +    'OPTIMIZE'      => '-O3 -DNDEBUG=1',
      'XSOPT'             => '-C++',

Modified: head/databases/p5-DBD-cego/pkg-plist
==============================================================================
--- head/databases/p5-DBD-cego/pkg-plist	Sun Oct 27 17:59:35 2013	(r331792)
+++ head/databases/p5-DBD-cego/pkg-plist	Sun Oct 27 18:05:42 2013	(r331793)
@@ -2,6 +2,7 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Cego/.packlist
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Cego/Cego.bs
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Cego/Cego.so
+%%PERL5_MAN3%%/DBD::Cego.3.gz
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Cego
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/DBD
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-10-27 18:06:03 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!