summaryrefslogtreecommitdiff
path: root/package/lsof/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-12 18:45:10 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-12 18:45:10 (GMT)
commit9a7fd2168ce172fcd7111b1137c7e4808ce1f7c8 (patch)
treef4f5e17de76da0a39fb33c7f2b32fc889d9be769 /package/lsof/Makefile
parent0eae06e5fb400328ae0956aafffcf1b5082c9a15 (diff)
fix cross-compile under Darwin, pass TARGET_CFLAGS to compilation
Diffstat (limited to 'package/lsof/Makefile')
-rw-r--r--package/lsof/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/lsof/Makefile b/package/lsof/Makefile
index 8f07060..f7cfb2b 100644
--- a/package/lsof/Makefile
+++ b/package/lsof/Makefile
@@ -5,15 +5,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= lsof
PKG_VERSION:= 4.84
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 6dae655988c810a7042c06a4e2fa3c5f
PKG_DESCR:= list open files
PKG_SECTION:= misc
PKG_URL:= http://people.freebsd.org/~abe/
PKG_SITES:= ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
-PKG_HOST_DEPENDS:= !darwin
-
DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}/${PKG_NAME}_${PKG_VERSION}_src
@@ -24,7 +22,7 @@ $(eval $(call PKG_template,LSOF,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_
CONFIG_STYLE:= minimal
CONFIGURE_PROG:= Configure
CONFIGURE_ARGS:= -n linux
-XAKE_FLAGS+= CC='${TARGET_CC}'
+XAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}'
INSTALL_STYLE:= manual
post-extract: