summaryrefslogtreecommitdiff
path: root/package/portmap/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-15 22:30:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-15 22:30:13 +0100
commitc57d0300bd42fabd8eeda2a95b6c3960d6e7ce07 (patch)
treeb53bc538246b5a900300b5c6b5ea740f978196f4 /package/portmap/Makefile
parentcf4b3959527339206254b8c8fc44deb391beeb10 (diff)
parent023560ac69a2ecf5659c668c26c0af6b5612a46b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: package/nspr/Makefile
Diffstat (limited to 'package/portmap/Makefile')
-rw-r--r--package/portmap/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/package/portmap/Makefile b/package/portmap/Makefile
index 85faa8d2f..229143a6e 100644
--- a/package/portmap/Makefile
+++ b/package/portmap/Makefile
@@ -6,12 +6,13 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= portmap
PKG_VERSION:= 6.0
PKG_RELEASE:= 1
-ifneq ($(strip ${ADK_PACKAGE_PORTMAP_LIBWRAP}),)
-PKG_BUILDDEP+= tcp_wrappers
-endif
PKG_MD5SUM:= ac108ab68bf0f34477f8317791aaf1ff
PKG_DESCR:= RPC portmapper
PKG_SECTION:= net
+ifneq ($(strip ${ADK_PACKAGE_PORTMAP_LIBWRAP}),)
+PKG_DEPENDS:= libwrap
+PKG_BUILDDEP+= tcp_wrappers
+endif
PKG_URL:= http://neil.brown.name/portmap
PKG_SITES:= http://neil.brown.name/portmap/
@@ -20,12 +21,11 @@ WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}
include ${TOPDIR}/mk/package.mk
-ifneq ($(strip ${ADK_PACKAGE_PORTMAP_LIBWRAP}),)
-PKG_DEPENDS:= libwrap
-endif
-
$(eval $(call PKG_template,PORTMAP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIG_STYLE:= manual
+INSTALL_STYLE:= manual
+
ifneq ($(strip ${ADK_PACKAGE_PORTMAP_LIBWRAP}),)
MAKE_FLAGS+= WRAP_LIB='-L${STAGING_DIR}/usr/lib -lwrap'
else
@@ -33,7 +33,6 @@ MAKE_FLAGS+= NO_TCP_WRAPPER=1
endif
TCPPFLAGS+= -DDAEMON_UID=20 -DDAEMON_GID=20
TCFLAGS+= -fPIC
-BUILD_STYLE:= auto
MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} \
CFLAGS='${TCFLAGS}'