aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-05-25 23:43:34 +0800
committermat <mat@FreeBSD.org>2016-05-25 23:43:34 +0800
commit9ec61f48def80e1a6cac88e7acc7894cc689135b (patch)
treec0750f82911803374c81b8cf05e2b96f037e2d8a /databases
parent03d1cb7006bd787bb7333edbfdefa0fe8486d226 (diff)
downloadfreebsd-ports-gnome-9ec61f48def80e1a6cac88e7acc7894cc689135b.tar.gz
freebsd-ports-gnome-9ec61f48def80e1a6cac88e7acc7894cc689135b.tar.zst
freebsd-ports-gnome-9ec61f48def80e1a6cac88e7acc7894cc689135b.zip
Remove useless WRKSRC definitions.
While there, correct DEV_WARNINGS when they occur. Sponsored by: Absolight
Diffstat (limited to 'databases')
-rw-r--r--databases/akonadi/Makefile4
-rw-r--r--databases/mdbtools/Makefile2
-rw-r--r--databases/mongodb32/Makefile2
-rw-r--r--databases/p5-DBD-Oracle/Makefile1
-rw-r--r--databases/py-MySQLdb/Makefile4
-rw-r--r--databases/spatialite/Makefile1
6 files changed, 4 insertions, 10 deletions
diff --git a/databases/akonadi/Makefile b/databases/akonadi/Makefile
index 664cbb1e0ba3..c7752748c7ab 100644
--- a/databases/akonadi/Makefile
+++ b/databases/akonadi/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.13.0
CATEGORIES= databases kde
MASTER_SITES= KDE/stable/${PORTNAME}/src
DIST_SUBDIR= KDE
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Storage server for KDE-Pim
@@ -31,7 +30,8 @@ OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
OPTIONS_SUB= yes # SQLITE
MYSQL_DESC= Install MySQL Qt plugin and server
-MYSQL_USE= MYSQL=server QT4=sql-mysql_run
+MYSQL_USE= QT4=sql-mysql_run
+MYSQL_USES= mysql:server
PGSQL_DESC= Install PostgreSQL Qt plugin
# Do not add a dependency on PostgreSQL server as someone preferring
diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile
index 91dd2ac84d0b..7690c8b671ad 100644
--- a/databases/mdbtools/Makefile
+++ b/databases/mdbtools/Makefile
@@ -32,8 +32,6 @@ INSTALL_TARGET= install-strip
DOCS= AUTHORS ChangeLog HACKING NEWS README TODO
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
GNOME_CONFIGURE_ENABLE= gmdb2
GNOME_USE= GNOME=gnomeprefix GNOME=libgnomeui GNOME=gconf2 GNOME=intltool
diff --git a/databases/mongodb32/Makefile b/databases/mongodb32/Makefile
index 7a669a195edf..87b1198d3dd2 100644
--- a/databases/mongodb32/Makefile
+++ b/databases/mongodb32/Makefile
@@ -61,7 +61,7 @@ IGNORE= unsupported on FreeBSD 10.1 or older
# - https://jira.mongodb.org/browse/SERVER-21217
# - https://jira.mongodb.org/browse/SERVER-22740
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 37
-BUILD_DEPENDS+= ${LOCALBASE}/bin/clang37:${PORTSDIR}/lang/clang37
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang37:lang/clang37
CPP= ${LOCALBASE}/bin/clang-cpp37
CC= ${LOCALBASE}/bin/clang37
CXX= ${LOCALBASE}/bin/clang++37
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile
index 1224f00b0840..04ec18cd268f 100644
--- a/databases/p5-DBD-Oracle/Makefile
+++ b/databases/p5-DBD-Oracle/Makefile
@@ -27,7 +27,6 @@ SHEBANG_FILES= Oracle.ex/*
.if ${PORT_OPTIONS:MOCI8}
PORTVERSION= 1.19
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ORACLE_HOME= ${LOCALBASE}/oracle8-client
BUILD_DEPENDS+= ${ORACLE_HOME}/lib/libclntst8.a:databases/oracle8-client
CONFIGURE_ARGS= -V 8.1.7
diff --git a/databases/py-MySQLdb/Makefile b/databases/py-MySQLdb/Makefile
index ab707041c966..4f350b92fae9 100644
--- a/databases/py-MySQLdb/Makefile
+++ b/databases/py-MySQLdb/Makefile
@@ -10,9 +10,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Access a MySQL database through Python
-USES= python:2
+USES= python:2 mysql
USE_PYTHON= distutils autoplist
-USE_MYSQL= yes
USE_GITHUB= yes
GH_ACCOUNT= farcepest
GH_PROJECT= ${PORTNAME}1
@@ -21,7 +20,6 @@ CONFLICTS= py*-MySQLdb-[0-9]* py*-MySQLdb5[0-9]-[0-9]*
PORTDOCS= *
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
-WRKSRC= ${WRKDIR}/${PORTNAME}1-${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS MYSQLCLIENT_R
OPTIONS_DEFAULT= MYSQLCLIENT_R
diff --git a/databases/spatialite/Makefile b/databases/spatialite/Makefile
index ac505b284be4..177d48740983 100644
--- a/databases/spatialite/Makefile
+++ b/databases/spatialite/Makefile
@@ -17,7 +17,6 @@ LIB_DEPENDS= libgeos_c.so:graphics/geos \
libproj.so:graphics/proj \
libfreexl.so:textproc/freexl
-WRKSRC= ${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
USES= gmake iconv pathfix pkgconfig libtool sqlite
USE_GNOME= libxml2