- Respect WITH_DEBUG: do not strip the binary by default

- Use bsd.port.mk

PR:		ports/155789
Submitted by:	Vitaly Magerya <vmagerya@gmail.com>
Approved by:	Chris Rees <utisoft@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-03-23 15:11:33 +00:00
parent b0fb6d1f58
commit ece8c9e551
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271523

View file

@ -17,13 +17,12 @@ COMMENT= Busybox for FreeBSD
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
MAKE_ARGS= SKIP_STRIP=y
USE_BZIP2= yes
USE_GMAKE= yes
PLIST_FILES= bin/busybox
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's/sed/gsed/' ${WRKSRC}/scripts/gen_build_files.sh
@${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' \
@ -37,4 +36,4 @@ do-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>
.include <bsd.port.mk>