svn commit: r428787 - head/lang/maude

John Marino marino at FreeBSD.org
Sat Dec 17 17:31:27 UTC 2016


Author: marino
Date: Sat Dec 17 17:31:26 2016
New Revision: 428787
URL: https://svnweb.freebsd.org/changeset/ports/428787

Log:
  lang/maude: document ncurses requirement
  
  - Set to link directly against ncurses (not curses)
  - Explicitly set extra patches to apply to DF as well.  They were already
    but it wasn't clear if that was wanted or not.
  - set USES=alias to fix building on DF

Modified:
  head/lang/maude/Makefile

Modified: head/lang/maude/Makefile
==============================================================================
--- head/lang/maude/Makefile	Sat Dec 17 17:30:01 2016	(r428786)
+++ head/lang/maude/Makefile	Sat Dec 17 17:31:26 2016	(r428787)
@@ -20,10 +20,10 @@ LIB_DEPENDS=	libbdd.so:science/buddy \
 		libgmp.so:math/gmp \
 		libsigsegv.so:devel/libsigsegv
 
-USES=		autoreconf bison
+USES=		alias autoreconf bison ncurses
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CPPFLAGS+=	-I${NCURSESINC} -I${LOCALBASE}/include
+LDFLAGS+=	-L${NCURSESLIB} -L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--datadir=${DATADIR}
 MAKE_JOBS_UNSAFE=	yes
 
@@ -39,7 +39,7 @@ BROKEN_aarch64=		Fails to link: missing 
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} >= 1000000
+.if ${OPSYS} == "DragonFly" || ${OSVERSION} >= 1000000
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-Mixfix-lexerAux
 .endif
 
@@ -64,6 +64,8 @@ post-extract:
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
 		${WRKSRC}/src/Mixfix/global.hh
+	@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|g' \
+		${WRKSRC}/configure.ac
 
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-head mailing list