aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dbmail21
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2006-08-17 23:56:48 +0800
committerstefan <stefan@FreeBSD.org>2006-08-17 23:56:48 +0800
commitbfc04866b040f1e8d4e164a5fa4f09eeaef51d65 (patch)
treed8adf2739ff5c2c7aaf474f582448af5e9f736a4 /mail/dbmail21
parent7966903f01515f3aae9d481fc01d1eaef3e2429e (diff)
downloadfreebsd-ports-gnome-bfc04866b040f1e8d4e164a5fa4f09eeaef51d65.tar.gz
freebsd-ports-gnome-bfc04866b040f1e8d4e164a5fa4f09eeaef51d65.tar.zst
freebsd-ports-gnome-bfc04866b040f1e8d4e164a5fa4f09eeaef51d65.zip
- Fix build by adjust library search path in CFLAGS. [1]
- Fix plist and use DATADIR. PR: 101770 [1] Submitted by: Chris Wasser <flatline@majestik12.ca> [1] Approved by: maintainer, arved (mentor)
Diffstat (limited to 'mail/dbmail21')
-rw-r--r--mail/dbmail21/Makefile3
-rw-r--r--mail/dbmail21/pkg-plist28
2 files changed, 14 insertions, 17 deletions
diff --git a/mail/dbmail21/Makefile b/mail/dbmail21/Makefile
index 8e234ccbc8ef..7757983ee16e 100644
--- a/mail/dbmail21/Makefile
+++ b/mail/dbmail21/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dbmail
PORTVERSION= 2.1.7
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.dbmail.org/download/2.1/
@@ -34,7 +35,7 @@ USE_GNOME= glib20
USE_OPENSSL= YES
USE_PTHREADS= YES
-CFLAGS+= -fPIC -I${LOCALBASE}/include
+CFLAGS+= -fPIC -I${LOCALBASE}/include -L${LOCALBASE}/lib
LDFLAGS+= -pthread
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" LOCALBASE=${LOCALBASE}
diff --git a/mail/dbmail21/pkg-plist b/mail/dbmail21/pkg-plist
index 044fded1ef0f..441f27155676 100644
--- a/mail/dbmail21/pkg-plist
+++ b/mail/dbmail21/pkg-plist
@@ -40,19 +40,15 @@ sbin/dbmail-users
sbin/dbmail-util
%%SIEVE%%sbin/dbmail-sievecmd
%%SIEVE%%sbin/dbmail-timsieved
-@exec mkdir -p %D/share/%%PORTNAME%%
-%%MYSQL%%@exec mkdir -p %D/share/PORTNAME/%%PORTNAME%%/mysql
-%%MYSQL%%share/%%PORTNAME%%/mysql/create_tables.mysql
-%%MYSQL%%share/%%PORTNAME%%/mysql/migrate_from_1.x_to_2.0_innodb.mysql
-%%MYSQL%%share/%%PORTNAME%%/mysql/migrate_from_2.0_to_2.1.mysql
-%%MYSQL%%share/%%PORTNAME%%/mysql/update_headervalue_01.mysql
-%%MYSQL%%@dirrm share/%%PORTNAME%%/mysql
-%%PGSQL%%@exec mkdir -p %D/share/PORTNAME/%%PORTNAME%%/postgresql
-%%PGSQL%%share/%%PORTNAME%%/postgresql/create_tables.pgsql
-%%PGSQL%%share/%%PORTNAME%%/postgresql/migrate_from_1.x_to_2.0.pgsql
-%%PGSQL%%share/%%PORTNAME%%/postgresql/migrate_from_2.0_to_2.1.pgsql
-%%PGSQL%%@dirrm share/%%PORTNAME%%/postgresql
-%%SQLITE%%@exec mkdir -p %D/share/PORTNAME/%%PORTNAME%%/sqlite
-%%SQLITE%%share/%%PORTNAME%%/sqlite/create_tables.sqlite
-%%SQLITE%%@dirrm share/%%PORTNAME%%/sqlite
-@dirrm share/%%PORTNAME%%
+%%MYSQL%%%%DATADIR%%/mysql/create_tables.mysql
+%%MYSQL%%%%DATADIR%%/mysql/migrate_from_1.x_to_2.0_innodb.mysql
+%%MYSQL%%%%DATADIR%%/mysql/migrate_from_2.0_to_2.1.mysql
+%%MYSQL%%%%DATADIR%%/mysql/update_headervalue_01.mysql
+%%MYSQL%%@dirrm %%DATADIR%%/mysql
+%%PGSQL%%%%DATADIR%%/postgresql/create_tables.pgsql
+%%PGSQL%%%%DATADIR%%/postgresql/migrate_from_1.x_to_2.0.pgsql
+%%PGSQL%%%%DATADIR%%/postgresql/migrate_from_2.0_to_2.1.pgsql
+%%PGSQL%%@dirrm %%DATADIR%%/postgresql
+%%SQLITE%%%%DATADIR%%/sqlite/create_tables.sqlite
+%%SQLITE%%@dirrm %%DATADIR%%/sqlite
+@dirrm %%DATADIR%%