From 25e08d501c338714e16d6a06c5c6278e86df1dc8 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 25 Apr 2012 15:37:25 +0200 Subject: [PATCH] berkeleydb: cleanup Use the preferred 'VAR = value' form, and remove redundant configure options. Signed-off-by: Peter Korsgaard --- package/berkeleydb/berkeleydb.mk | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk index 3d578529ad..396ba16913 100644 --- a/package/berkeleydb/berkeleydb.mk +++ b/package/berkeleydb/berkeleydb.mk @@ -3,13 +3,13 @@ # berkeley db # ############################################################# -BERKELEYDB_VERSION:=5.3.15 -BERKELEYDB_SITE:=http://download.oracle.com/berkeley-db -BERKELEYDB_SOURCE:=db-$(BERKELEYDB_VERSION).NC.tar.gz -BERKELEYDB_SUBDIR=build_unix +BERKELEYDB_VERSION = 5.3.15 +BERKELEYDB_SITE = http://download.oracle.com/berkeley-db +BERKELEYDB_SOURCE = db-$(BERKELEYDB_VERSION).NC.tar.gz +BERKELEYDB_SUBDIR = build_unix BERKELEYDB_INSTALL_STAGING = YES -#build directory can't be the directory where configure are there, so.. +# build directory can't be the directory where configure are there, so.. define BERKELEYDB_CONFIGURE_CMDS (cd $(@D)/build_unix; rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ @@ -20,16 +20,7 @@ define BERKELEYDB_CONFIGURE_CMDS --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ - --bindir=/usr/bin \ - --sbindir=/usr/sbin \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ --sysconfdir=/etc \ - --datadir=/usr/share \ - --localstatedir=/var \ - --includedir=/usr/include \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ --with-gnu-ld \ --disable-cxx \ --disable-java \ -- 2.30.2