From owner-svn-ports-all@freebsd.org Sun Jul 3 12:43:29 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20E84B8F483; Sun, 3 Jul 2016 12:43:29 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E54032488; Sun, 3 Jul 2016 12:43:28 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u63ChSXr051274; Sun, 3 Jul 2016 12:43:28 GMT (envelope-from brnrd@FreeBSD.org) Received: (from brnrd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u63ChSNt051272; Sun, 3 Jul 2016 12:43:28 GMT (envelope-from brnrd@FreeBSD.org) Message-Id: <201607031243.u63ChSNt051272@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brnrd set sender to brnrd@FreeBSD.org using -f From: Bernard Spil Date: Sun, 3 Jul 2016 12:43:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417969 - head/databases/mysql-udf 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.22 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: Sun, 03 Jul 2016 12:43:29 -0000 Author: brnrd Date: Sun Jul 3 12:43:27 2016 New Revision: 417969 URL: https://svnweb.freebsd.org/changeset/ports/417969 Log: databases/mysql-udf: Fix building with MariaDB - Work around MySQL's include/mysql/mysql directory - Add -I ${LOCALBASE}/include to CFLAGS - Move from USE_MYSQL to USES= mysql PR: 199556 Modified: head/databases/mysql-udf/Makefile head/databases/mysql-udf/distinfo Modified: head/databases/mysql-udf/Makefile ============================================================================== --- head/databases/mysql-udf/Makefile Sun Jul 3 12:10:18 2016 (r417968) +++ head/databases/mysql-udf/Makefile Sun Jul 3 12:43:27 2016 (r417969) @@ -12,7 +12,7 @@ COMMENT= Set of user-defined functions f WRKSRC= ${WRKDIR}/${PORTNAME} -USE_MYSQL= yes +USES= mysql MODULES= colwidth confidence_higher confidence_lower correlation \ faculty geomean intercept kurtosis longest median noverm \ @@ -31,7 +31,7 @@ CFLAGS+= -fPIC do-build: .for MODULE in ${MODULES} cd ${WRKSRC} && \ - ${CC} ${CFLAGS} -I${LOCALBASE}/include/mysql -c -o udf_${MODULE}.o udf_${MODULE}.cc && \ + ${CC} ${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/mysql -c -o udf_${MODULE}.o udf_${MODULE}.cc && \ ${CC} -shared -o udf_${MODULE}.so udf_${MODULE}.o .endfor Modified: head/databases/mysql-udf/distinfo ============================================================================== --- head/databases/mysql-udf/distinfo Sun Jul 3 12:10:18 2016 (r417968) +++ head/databases/mysql-udf/distinfo Sun Jul 3 12:43:27 2016 (r417969) @@ -1,2 +1,3 @@ +TIMESTAMP = 1467549429 SHA256 (mysql-udf-0.3.tar.gz) = d9115aeecccfc06ccdc209a761a6a4d0dba70f15c9319ab76d173b04737beaf2 SIZE (mysql-udf-0.3.tar.gz) = 6714