aboutsummaryrefslogtreecommitdiffstats
path: root/security/libpreludedb
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2006-02-21 07:01:33 +0800
committersergei <sergei@FreeBSD.org>2006-02-21 07:01:33 +0800
commit7db7701ff66c63eefc1b45b5a6b6709fc081b156 (patch)
tree5bb051bc12538a76c73f461b9e57c3d761b3af3d /security/libpreludedb
parent62a995629f9ed6c3c54aaae7056d4e148c7bb80a (diff)
downloadfreebsd-ports-gnome-7db7701ff66c63eefc1b45b5a6b6709fc081b156.tar.gz
freebsd-ports-gnome-7db7701ff66c63eefc1b45b5a6b6709fc081b156.tar.zst
freebsd-ports-gnome-7db7701ff66c63eefc1b45b5a6b6709fc081b156.zip
- Fix run-time linking problems of the dependent ports by installing libtool
archives (.la) files - switch to USE_LIBTOOL=libtool:15:inc - Add WITH_SQLITE knob - Fix typo in LDCONFIG_DIRS - Bump PORTREVISION PR: ports/93500 Submitted by: Robin Gruyters (maintainer)
Diffstat (limited to 'security/libpreludedb')
-rw-r--r--security/libpreludedb/Makefile15
-rw-r--r--security/libpreludedb/pkg-plist8
2 files changed, 20 insertions, 3 deletions
diff --git a/security/libpreludedb/Makefile b/security/libpreludedb/Makefile
index cb764a896cb4..0e067811b1c8 100644
--- a/security/libpreludedb/Makefile
+++ b/security/libpreludedb/Makefile
@@ -5,6 +5,7 @@
PORTNAME= libpreludedb
PORTVERSION= 0.9.4
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.prelude-ids.org/download/releases/
@@ -16,10 +17,10 @@ LIB_DEPENDS= prelude.6:${PORTSDIR}/security/libprelude
USE_GPG= yes
SIG_SUFFIX= .sig
USE_GMAKE= yes
-USE_AUTOTOOLS= libtool:15
+USE_AUTOTOOLS= libtool:15:inc
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib \
- %%PREFIX%%/lib/libpreludedb/plugins/format
+ %%PREFIX%%/lib/libpreludedb/plugins/formats
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITH_PERL)
@@ -60,6 +61,16 @@ CONFIGURE_ARGS+= --disable-pgsql
PLIST_SUB+= WITH_PGSQL="@comment "
.endif
+.if defined(WITH_SQLITE)
+USE_SQLITE= yes
+CONFIGURE_ARGS+= --enable-sqlite3
+PLIST_SUB+= WITH_SQLITE=""
+LDCONFIG_DIRS+= %%PREFIX%%/lib/libpreludedb/plugins/sql
+.else
+CONFIGURE_ARGS+= --disable-sqlite3
+PLIST_SUB+= WITH_SQLITE="@comment "
+.endif
+
.if !defined(NOPORTDOCS)
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
diff --git a/security/libpreludedb/pkg-plist b/security/libpreludedb/pkg-plist
index 4d5db3fee693..034aed2ceda1 100644
--- a/security/libpreludedb/pkg-plist
+++ b/security/libpreludedb/pkg-plist
@@ -11,12 +11,18 @@ include/libpreludedb/preludedb-error.h
include/libpreludedb/preludedb.h
lib/libpreludedb.so.2
lib/libpreludedb.so
-lib/libpreludedb.a
+lib/libpreludedb.la
lib/libpreludedb/plugins/formats/classic.so
+lib/libpreludedb/plugins/formats/classic.la
%%WITH_MYSQL%%lib/libpreludedb/plugins/sql/mysql.so
+%%WITH_MYSQL%%lib/libpreludedb/plugins/sql/mysql.la
%%WITH_MYSQL%%@dirrmtry lib/libpreludedb/plugins/sql
%%WITH_PGSQL%%lib/libpreludedb/plugins/sql/pgsql.so
+%%WITH_PGSQL%%lib/libpreludedb/plugins/sql/pgsql.la
%%WITH_PGSQL%%@dirrmtry lib/libpreludedb/plugins/sql
+%%WITH_SQLITE%%lib/libpreludedb/plugins/sql/sqlite3.so
+%%WITH_SQLITE%%lib/libpreludedb/plugins/sql/sqlite3.la
+%%WITH_SQLITE%%@dirrmtry lib/libpreludedb/plugins/sql
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/PreludeDB.pm
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/PreludeDB/.packlist
%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/PreludeDB/PreludeDB.bs