summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-04 22:06:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-04 22:06:23 +0100
commit783c5c8160ab86b9502a33ad9144fdefeb0e0084 (patch)
tree6c54622698900bb666eb78019bcf732f95ac6fa1
parent71855c832d1b9f1557f3663570d2adf9422d8df5 (diff)
parent71d64690550602953eea0737507cbc47999b4126 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--package/cyrus-sasl/Makefile13
-rw-r--r--package/openldap/patches/patch-Makefile_in11
-rw-r--r--package/sqlite/Makefile5
-rw-r--r--package/sqlite/patches/patch-configure22
-rw-r--r--package/tcl/Makefile7
5 files changed, 50 insertions, 8 deletions
diff --git a/package/cyrus-sasl/Makefile b/package/cyrus-sasl/Makefile
index 19ad1e27e..5a5dcfd4a 100644
--- a/package/cyrus-sasl/Makefile
+++ b/package/cyrus-sasl/Makefile
@@ -15,11 +15,12 @@ PKG_URL:= http://asg.web.cmu.edu/sasl/
PKG_SITES:= http://ftp.andrew.cmu.edu/pub/cyrus-mail/
PKG_NOPARALLEL:= 1
-PKG_SUBPKGS:= LIBSASL2
+PKG_SUBPKGS:= LIBSASL2 LIBSASL2_DEV
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSASL2,libsasl2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBSASL2_DEV,libsasl2-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_ARGS+= --disable-sample \
--enable-staticdlopen \
@@ -69,10 +70,14 @@ pre-build:
CPPFLAGS="" \
makemd5
-post-install:
+libsasl2-install:
${INSTALL_DIR} ${IDIR_LIBSASL2}/usr/lib/sasl2
- ${CP} ${WRKINST}/usr/lib/libsasl2.so* ${IDIR_LIBSASL2}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libsasl2.so* ${IDIR_LIBSASL2}/usr/lib
${CP} ${WRKINST}/usr/lib/sasl2/lib*.so* \
- ${IDIR_LIBSASL2}/usr/lib/sasl2/
+ ${IDIR_LIBSASL2}/usr/lib/sasl2
+
+libsasl2-dev-install:
+ ${INSTALL_DIR} ${IDIR_LIBSASL2_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBSASL2_DEV}/usr/include
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openldap/patches/patch-Makefile_in b/package/openldap/patches/patch-Makefile_in
new file mode 100644
index 000000000..c248c3f7e
--- /dev/null
+++ b/package/openldap/patches/patch-Makefile_in
@@ -0,0 +1,11 @@
+--- openldap-2.4.23.orig/Makefile.in 2010-04-13 22:22:14.000000000 +0200
++++ openldap-2.4.23/Makefile.in 2011-03-04 20:59:55.000000000 +0100
+@@ -13,7 +13,7 @@
+ ## top-level directory of the distribution or, alternatively, at
+ ## <http://www.OpenLDAP.org/license.html>.
+
+-SUBDIRS= include libraries clients servers tests doc
++SUBDIRS= include libraries clients servers
+ CLEANDIRS=
+ INSTALLDIRS=
+
diff --git a/package/sqlite/Makefile b/package/sqlite/Makefile
index 175c53518..d1c290edf 100644
--- a/package/sqlite/Makefile
+++ b/package/sqlite/Makefile
@@ -26,6 +26,7 @@ CONFIGURE_ENV+= config_BUILD_CC="${CC_FOR_BUILD}" \
config_TARGET_CFLAGS="${TARGET_CFLAGS}" \
config_TARGET_READLINE_INC="-I${STAGING_TARGET_DIR}/usr/include" \
config_TARGET_READLINE_LIBS="-L${STAGING_TARGET_DIR}/usr/lib -lreadline -lncurses"
+
MAKE_FLAGS+= LIBPTHREAD=-lm
TARGET_CPPFLAGS+= -DSQLITE_SECURE_DELETE=1
CONFIGURE_ARGS+= --disable-tcl \
@@ -34,8 +35,8 @@ CONFIGURE_ARGS+= --disable-tcl \
post-install:
${INSTALL_DIR} ${IDIR_LIBSQLITE}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libsqlite3.so* ${IDIR_LIBSQLITE}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libsqlite3.so* ${IDIR_LIBSQLITE}/usr/lib
${INSTALL_DIR} ${IDIR_SQLITE_CLI}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/sqlite3 ${IDIR_SQLITE_CLI}/usr/bin/
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/sqlite3 ${IDIR_SQLITE_CLI}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sqlite/patches/patch-configure b/package/sqlite/patches/patch-configure
new file mode 100644
index 000000000..f4a1d91fd
--- /dev/null
+++ b/package/sqlite/patches/patch-configure
@@ -0,0 +1,22 @@
+--- sqlite-3.7.3.orig/configure 2010-10-07 16:48:41.000000000 +0200
++++ sqlite-3.7.3/configure 2011-03-04 21:58:45.000000000 +0100
+@@ -12389,8 +12389,8 @@ fi
+ # generate command-line programs that run on the build machine.
+ #
+ if test x"$cross_compiling" = xno; then
+- BUILD_CC=$CC
+- BUILD_CFLAGS=$CFLAGS
++ BUILD_CC=$CC_FOR_BUILD
++ BUILD_CFLAGS=$CFLAGS_FOR_BUILD
+ else
+ if test "${BUILD_CC+set}" != set; then
+ for ac_prog in gcc cc cl
+@@ -12437,7 +12437,7 @@ done
+
+ fi
+ if test "${BUILD_CFLAGS+set}" != set; then
+- BUILD_CFLAGS="-g"
++ BUILD_CFLAGS=$CFLAGS_FOR_BUILD
+ fi
+ fi
+
diff --git a/package/tcl/Makefile b/package/tcl/Makefile
index 964bb6250..6dbed8f03 100644
--- a/package/tcl/Makefile
+++ b/package/tcl/Makefile
@@ -17,7 +17,7 @@ WRKSRC= ${WRKDIST}/unix
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,TCL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,TCL,tcl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TARGET_LDFLAGS+= -ldl
CONFIGURE_ENV+= tcl_cv_strstr_unbroken=ok \
@@ -29,9 +29,12 @@ CONFIGURE_ARGS+= --enable-man-symlinks \
--disable-rpath
INSTALL_TARGET= install-binaries install-libraries
-post-install:
+tcl-install:
${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin
${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin
+ cd ${IDIR_TCL}/usr/bin && ln -sf tclsh8.5 tclsh
${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_TCL}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/tcl8 ${IDIR_TCL}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/tcl8.5 ${IDIR_TCL}/usr/lib
include ${TOPDIR}/mk/pkg-bottom.mk