Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 18:05:42 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331793 - in head/databases/p5-DBD-cego: . files
Message-ID:  <201310271805.r9RI5gBk071929@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310271805.r9RI5gBk071929>