Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2016 17:31:26 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428787 - head/lang/maude
Message-ID:  <201612171731.uBHHVQif093130@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612171731.uBHHVQif093130>