diff options
author | stefan <stefan@FreeBSD.org> | 2006-08-17 15:56:48 +0000 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2006-08-17 15:56:48 +0000 |
commit | bfc04866b040f1e8d4e164a5fa4f09eeaef51d65 (patch) | |
tree | d8adf2739ff5c2c7aaf474f582448af5e9f736a4 /mail | |
parent | 7966903f01515f3aae9d481fc01d1eaef3e2429e (diff) | |
download | FreeBSD-ports-bfc04866b040f1e8d4e164a5fa4f09eeaef51d65.zip FreeBSD-ports-bfc04866b040f1e8d4e164a5fa4f09eeaef51d65.tar.gz |
- 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')
-rw-r--r-- | mail/dbmail-devel/Makefile | 3 | ||||
-rw-r--r-- | mail/dbmail-devel/pkg-plist | 28 | ||||
-rw-r--r-- | mail/dbmail21/Makefile | 3 | ||||
-rw-r--r-- | mail/dbmail21/pkg-plist | 28 |
4 files changed, 28 insertions, 34 deletions
diff --git a/mail/dbmail-devel/Makefile b/mail/dbmail-devel/Makefile index 8e234cc..7757983 100644 --- a/mail/dbmail-devel/Makefile +++ b/mail/dbmail-devel/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/dbmail-devel/pkg-plist b/mail/dbmail-devel/pkg-plist index 044fded..441f271 100644 --- a/mail/dbmail-devel/pkg-plist +++ b/mail/dbmail-devel/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%% diff --git a/mail/dbmail21/Makefile b/mail/dbmail21/Makefile index 8e234cc..7757983 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 044fded..441f271 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%% |