diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-05-08 03:38:34 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-05-08 03:38:34 +0000 |
commit | 6d1c5b7b38a96326aab001347cbc113a16e571d2 (patch) | |
tree | 159f12a29f4d1e4b32b0bb4c9b9e8a75308bb610 /misc/terraform | |
parent | 242180eaecb440380a7fa334aa14f1b2631ae5f0 (diff) |
Notes
Diffstat (limited to 'misc/terraform')
-rw-r--r-- | misc/terraform/Makefile | 4 |
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> |