summaryrefslogtreecommitdiff
path: root/security/labrea
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-12-30 20:23:22 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-12-30 20:23:22 +0000
commitbd54be69e09c5a787c804fc58164d6dfbf2e303a (patch)
tree840dadac6b7b6005d032dad10c50287951c74e0d /security/labrea
parentFix build on 64-bit platforms. (diff)
* Honor CC and CFLAGS. This also fixes building on !i386.
* Remove some cruft.
Notes
Notes: svn path=/head/; revision=71986
Diffstat (limited to 'security/labrea')
-rw-r--r--security/labrea/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/security/labrea/Makefile b/security/labrea/Makefile
index c6c815bac815..78a08016d1a6 100644
--- a/security/labrea/Makefile
+++ b/security/labrea/Makefile
@@ -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)