Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 13:06:51 -0700 (PDT)
From:      Julien Laffaye <jlaffaye@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lichray@gmail.com
Subject:   ports/167343: [PATCH] databases/gosqlite3: update to 20120330
Message-ID:  <4f99aadb.d01b0e0a.1d9a.60e6@mx.google.com>
Resent-Message-ID: <201204262010.q3QKABlh068673@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167343
>Category:       ports
>Synopsis:       [PATCH] databases/gosqlite3: update to 20120330
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 26 20:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Julien Laffaye
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD proclarush.jlaffaye.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
- Update to 20120330
- Compile with upcoming Go1

Added file(s):
- pkg-plist

Port maintainer (lichray@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- gosqlite3-20120330.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/gosqlite3/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	26 Nov 2011 22:56:56 -0000	1.4
+++ Makefile	26 Apr 2012 20:05:59 -0000
@@ -6,24 +6,23 @@
 #
 
 PORTNAME=	gosqlite3
-PORTVERSION=	20110316
-PORTREVISION=	3
+PORTVERSION=	20120330
 CATEGORIES=	databases
-MASTER_SITES=	LOCAL/wen
-DISTNAME=	${GITHUB_USER}-${PORTNAME}-${GIT_REVISION}
+MASTER_SITES=	http://jlaffaye.net/ LOCAL/jlaffaye
 
 MAINTAINER=	lichray@gmail.com
 COMMENT=	A Go interface for SQLite3
 
 LIB_DEPENDS+=	sqlite3:${PORTSDIR}/databases/sqlite3
 
-PLIST_FILES=	${GO_LIBDIR}/sqlite3.a
-
 USE_GO=		yes
-MAKE_ARGS+=	CGO_CFLAGS+="-I${LOCALBASE}/include" CFLAGS="-I${LOCALBASE}/${GO_LIBDIR}" CGO_LDFLAGS="-L${LOCALBASE}/lib -lsqlite3"
+GO_PKGNAME=	${SUBLIBDIR}/${PORTNAME}
+
+SUBLIBDIR=	github.com/kuroneko
 
-GITHUB_USER=	feyeleanor
-GIT_REVISION=	0f3e536
+do-install:
+	${MKDIR} ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
+	${INSTALL_DATA} ${GO_WRKDIR_PKG}/${SUBLIBDIR}/gosqlite3.a ${GO_LOCAL_LIBDIR}/${SUBLIBDIR}
 
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/go/files/bsd.go.mk"
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/databases/gosqlite3/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	14 Apr 2011 00:56:10 -0000	1.1
+++ distinfo	26 Apr 2012 20:05:59 -0000
@@ -1,2 +1,2 @@
-SHA256 (feyeleanor-gosqlite3-0f3e536.tar.gz) = 8f6f538846865e6d9e317e5deb30e1c7418f589a8e6c325e53f242678c84d811
-SIZE (feyeleanor-gosqlite3-0f3e536.tar.gz) = 7125
+SHA256 (gosqlite3-20120330.tar.gz) = bb64dacbc61d3ea686ff60d039e7a795a99547ae4c991d544e3e9ef7dd6d64a3
+SIZE (gosqlite3-20120330.tar.gz) = 11079
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-plist	26 Apr 2012 20:05:59 -0000
@@ -0,0 +1,3 @@
+%%GO_LIBDIR%%/github.com/kuroneko/gosqlite3.a
+@dirrmtry %%GO_LIBDIR%%/github.com/kuroneko
+@dirrmtry %%GO_LIBDIR%%/github.com
--- gosqlite3-20120330.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f99aadb.d01b0e0a.1d9a.60e6>