summaryrefslogtreecommitdiff
path: root/package/pcre/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-30 21:56:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-30 21:56:07 +0200
commit1a81ab3b835f3b77bb16e47ddb1be9c751e79e0e (patch)
treeb325e977182b293bb8382072f2e4f0a3f88f3089 /package/pcre/Makefile
parente56895aca43c2de824228aa3ae00345318a0cb51 (diff)
parent712a7998a6e64638154c2cc3b3262b0881ca0138 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pcre/Makefile')
-rw-r--r--package/pcre/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/pcre/Makefile b/package/pcre/Makefile
index 211f8f375..174315a81 100644
--- a/package/pcre/Makefile
+++ b/package/pcre/Makefile
@@ -22,11 +22,14 @@ ifeq ($(ADK_STATIC),y)
PKG_OPTS+= libmix
endif
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,PCRE,pcre,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,LIBPCRECPP,libpcrecpp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBPCRECPP},${PKG_SECTION}))
+HOST_STYLE:= auto
CONFIGURE_ARGS+= --enable-utf
XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS}
@@ -38,4 +41,5 @@ libpcrecpp-install:
${INSTALL_DIR} ${IDIR_LIBPCRECPP}/usr/lib
${CP} ${WRKINST}/usr/lib/libpcrecpp.so* ${IDIR_LIBPCRECPP}/usr/lib
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk