summaryrefslogtreecommitdiff
path: root/security/libpreludedb
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-10-07 19:39:42 +0000
committerjoerg <joerg@pkgsrc.org>2009-10-07 19:39:42 +0000
commit2d71a52482e558e955e16971fb885c2963fbe585 (patch)
tree5c0ee1c881aaeb35a1118550ac87725cbcb641bb /security/libpreludedb
parent3d87a6f56b70c46c44bd7e95aeac39aa5b8870e5 (diff)
downloadpkgsrc-2d71a52482e558e955e16971fb885c2963fbe585.tar.gz
Share distinfo file between libprelude-* and similar for
libpreludedb-*. Shuffle stuff a bit around in the Makefile.common, define PATCHDIR in that, don't define user-destdir support there.
Diffstat (limited to 'security/libpreludedb')
-rw-r--r--security/libpreludedb/Makefile9
-rw-r--r--security/libpreludedb/Makefile.common8
2 files changed, 10 insertions, 7 deletions
diff --git a/security/libpreludedb/Makefile b/security/libpreludedb/Makefile
index 3df697a5e59..089ede84a48 100644
--- a/security/libpreludedb/Makefile
+++ b/security/libpreludedb/Makefile
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.27 2009/10/02 09:50:38 hasso Exp $
+# $NetBSD: Makefile,v 1.28 2009/10/07 19:39:43 joerg Exp $
#
-.include "../../security/libpreludedb/Makefile.common"
-.include "../../mk/bsd.prefs.mk"
-
COMMENT= LibPreludeDB libraries
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../security/libpreludedb/Makefile.common"
+
CONFIGURE_ARGS+= --with-perl=no
CONFIGURE_ARGS+= --with-python=no
CONFIGURE_ARGS+= --with-mysql=no
diff --git a/security/libpreludedb/Makefile.common b/security/libpreludedb/Makefile.common
index 1f618f6708a..e8f1c12475d 100644
--- a/security/libpreludedb/Makefile.common
+++ b/security/libpreludedb/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2009/10/02 09:50:38 hasso Exp $
+# $NetBSD: Makefile.common,v 1.2 2009/10/07 19:39:43 joerg Exp $
#
# used by security/libpreludedb/Makefile
# used by security/libpreludedb-mysql/Makefile
@@ -16,7 +16,8 @@ MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://www.prelude-ids.org/download/releases/
COMMENT= Provides an interface to the database used to store IDMEF alerts
-PKG_DESTDIR_SUPPORT= user-destdir
+PATCHDIR= ${.CURDIR}/../security/libpreludedb/patches
+DISTINFO_FILE= ${.CURDIR}/../security/libpreludedb/distinfo
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
@@ -27,6 +28,7 @@ USE_LANGUAGES= c c++
PKG_OPTIONS_VAR= PKG_OPTIONS.libpreludedb
-
pre-configure:
${LN} -s ${BUILDLINK_DIR}/lib/libltdl.la ${BUILDLINK_DIR}/lib/libltdlc.la
+
+.include "../../mk/bsd.prefs.mk"