summaryrefslogtreecommitdiffstats
path: root/devel/yasm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/yasm/Makefile')
-rw-r--r--devel/yasm/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/yasm/Makefile b/devel/yasm/Makefile
index 733d748..6145ac5 100644
--- a/devel/yasm/Makefile
+++ b/devel/yasm/Makefile
@@ -14,7 +14,10 @@ MASTER_SITES= http://www.tortall.net/projects/yasm/releases/
MAINTAINER= ports@FreeBSD.org
COMMENT= A complete rewrite of the NASM assembler
+USE_REINPLACE= yes
USE_ICONV= yes
+USE_LIBLTDL= yes
+USE_AUTOCONF_VER=259
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
@@ -26,4 +29,8 @@ MAN1= yasm.1
MAN7= yasm_arch.7
.endif
+post-configure:
+ @${REINPLACE_CMD} 's|$${top_builddir}/libltdl/libltdlc.la|-lltdl|' ${WRKSRC}/Makefile
+ @${RM} -rf ${WRKSRC}/libltdl
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud