summaryrefslogtreecommitdiff
path: root/misc/terraform
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-05-08 03:38:34 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-05-08 03:38:34 +0000
commit6d1c5b7b38a96326aab001347cbc113a16e571d2 (patch)
tree159f12a29f4d1e4b32b0bb4c9b9e8a75308bb610 /misc/terraform
parentWrong distinfo (forgot to update) (diff)
Add missing dependency on devel/trio, and fix build. Might just be me,
but this program still dumps core whenever I run it.
Notes
Notes: svn path=/head/; revision=80412
Diffstat (limited to 'misc/terraform')
-rw-r--r--misc/terraform/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/terraform/Makefile b/misc/terraform/Makefile
index 495bfdd4be7e..a175fec1cb4c 100644
--- a/misc/terraform/Makefile
+++ b/misc/terraform/Makefile
@@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive height field generation and manipulation program
+BUILD_DEPENDS= ${LOCALBASE}/lib/libtrio.a:${PORTSDIR}/devel/trio
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
intl.4:${PORTSDIR}/devel/gettext \
png.5:${PORTSDIR}/graphics/png \
@@ -31,7 +32,8 @@ CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
USE_GMAKE= yes
post-patch:
- @${REINPLACE_CMD} -e "s|Bison |Bison|" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "s|Bison |Bison|; \
+ s|-ltrio $$LIBS|-ltrio -lm $$LIBS|" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|" ${WRKSRC}/src/xmlsupport.c
.include <bsd.port.mk>