From owner-svn-ports-all@FreeBSD.ORG Wed Oct 30 10:03:07 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 53E3BF6F; Wed, 30 Oct 2013 10:03:07 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 278522318; Wed, 30 Oct 2013 10:03:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9UA37DS015374; Wed, 30 Oct 2013 10:03:07 GMT (envelope-from ale@svn.freebsd.org) Received: (from ale@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9UA36ZT015368; Wed, 30 Oct 2013 10:03:06 GMT (envelope-from ale@svn.freebsd.org) Message-Id: <201310301003.r9UA36ZT015368@svn.freebsd.org> From: Alex Dupre Date: Wed, 30 Oct 2013 10:03:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332090 - in head/java/sqlitejdbc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 10:03:07 -0000 Author: ale Date: Wed Oct 30 10:03:06 2013 New Revision: 332090 URL: http://svnweb.freebsd.org/changeset/ports/332090 Log: Fix build with clang and stagify. Approved by: maintainer Added: head/java/sqlitejdbc/files/patch-Makefile.common (contents, props changed) Modified: head/java/sqlitejdbc/Makefile Modified: head/java/sqlitejdbc/Makefile ============================================================================== --- head/java/sqlitejdbc/Makefile Wed Oct 30 10:01:16 2013 (r332089) +++ head/java/sqlitejdbc/Makefile Wed Oct 30 10:03:06 2013 (r332090) @@ -3,9 +3,9 @@ PORTNAME= sqlitejdbc PORTVERSION= 056 -PORTREVISION= 1 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -src +PORTREVISION= 1 CATEGORIES= java databases MASTER_SITES= http://files.zentus.com/sqlitejdbc/ EXTRACT_SUFX= .tgz @@ -13,7 +13,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= lapo@lapo.it COMMENT= A Java JDBC driver for SQLite -LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 +LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION} USE_JAVA= yes @@ -21,16 +21,16 @@ JAVA_VERSION= 1.6+ USE_GMAKE= yes MAKE_ENV= JAVA_HOME="${JAVA_HOME}" ALL_TARGET= native -USE_LDCONFIG= yes PLIST_FILES= %%JAVAJARDIR%%/sqlitejdbc-native.jar lib/libsqlitejdbc.so -NO_STAGE= yes post-patch: ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile do-install: - ${INSTALL_DATA} ${WRKSRC}/build/sqlitejdbc-v${PORTVERSION}-native.jar ${JAVAJARDIR}/sqlitejdbc-native.jar - ${INSTALL_DATA} ${WRKSRC}/build/FreeBSD/libsqlitejdbc.so ${PREFIX}/lib/ + ${INSTALL_DATA} ${WRKSRC}/build/sqlitejdbc-v${PORTVERSION}-native.jar \ + ${STAGEDIR}${JAVAJARDIR}/sqlitejdbc-native.jar + ${INSTALL_DATA} ${WRKSRC}/build/FreeBSD/libsqlitejdbc.so \ + ${STAGEDIR}${PREFIX}/lib/ .include Added: head/java/sqlitejdbc/files/patch-Makefile.common ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/java/sqlitejdbc/files/patch-Makefile.common Wed Oct 30 10:03:06 2013 (r332090) @@ -0,0 +1,11 @@ +--- Makefile.common.orig 2013-10-30 08:27:27.420880093 +0000 ++++ Makefile.common 2013-10-30 08:27:45.873878420 +0000 +@@ -56,7 +56,7 @@ + target := $(os)-$(arch) + + # os=Default is meant to be generic unix/linux +-Default_CC := gcc ++Default_CC := $(CC) + Default_STRIP := strip + Default_CFLAGS := -I$(JAVA_HOME)/include -Os -fPIC + Default_LINKFLAGS := -shared