1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

* Honor CC and CFLAGS. This also fixes building on !i386.

* Remove some cruft.
This commit is contained in:
Christian Weisgerber 2002-12-30 20:23:22 +00:00
parent ca7dcb9ee5
commit bd54be69e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71986

View File

@ -14,16 +14,12 @@ EXTRACT_SUFX= .tgz
MAINTAINER= nick@rogness.net
BUILD_DEPENDS+= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
WRKSRC= ${WRKDIR}/LaBrea
ALL_TARGET= LaBrea
USE_REINPLACE= yes
pre-build:
${REINPLACE_CMD} -e "s@PREFIX=/usr/local@PREFIX=${PREFIX}@g;\
s@LOCALBASE=/usr/local@LOCALBASE=${LOCALBASE}@g" \
${WRKSRC}/Makefile
MAKE_ARGS= CC="${CC}" OPTFLAGS="${CFLAGS}"
post-install:
.if !defined(NOPORTDOCS)