aboutsummaryrefslogtreecommitdiff
path: root/www/larbin/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-06-09 01:34:40 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-06-09 01:34:40 +0000
commit8dd6d8252519aef47e5451da9db5673112564006 (patch)
tree9a7096e249ca7a3a3d7d88ef482b8f9b47c01f30 /www/larbin/Makefile
parentd14636d6c83d5ac49ed6bb086ec9627646213199 (diff)
downloadports-8dd6d8252519aef47e5451da9db5673112564006.tar.gz
ports-8dd6d8252519aef47e5451da9db5673112564006.zip
Notes
Diffstat (limited to 'www/larbin/Makefile')
-rw-r--r--www/larbin/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/larbin/Makefile b/www/larbin/Makefile
index 03572c279bb4..99b18ef2ca08 100644
--- a/www/larbin/Makefile
+++ b/www/larbin/Makefile
@@ -12,12 +12,16 @@ MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/larbin/
MAINTAINER= hiten@uk.FreeBSD.org
-BROKEN= "Does not build"
-
USE_GMAKE= yes
GNU_CONFIGURE= yes
PATCH_WRKSRC= ${WRKSRC}/src
+MAKE_ARGS= CXX=${CXX}
+
+post-patch:
+ @${SED} -e 's,CC=,CC?=,' -e 's,CFLAGS=-O3,CFLAGS+=,' < \
+ ${WRKSRC}/adns/Makefile > ${WRKSRC}/adns/Makefile.new
+ @${MV} ${WRKSRC}/adns/Makefile.new ${WRKSRC}/adns/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/larbin ${PREFIX}/bin/