Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2015 14:09:59 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390640 - head/lang/afnix
Message-ID:  <201506261409.t5QE9xRY060654@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jun 26 14:09:58 2015
New Revision: 390640
URL: https://svnweb.freebsd.org/changeset/ports/390640

Log:
  - Use BROKEN_powerpc helper
  - Fix plist with NLS disabled
  - Add USES=compier:c++11-lang to fix build on 9.x (it needs c++11-aware compiler). For the note, specifying c++11-lib leads to gcc coredump.
  
  Submitted by:	pkg-fallout
  Approved by:	portmgr blanket

Modified:
  head/lang/afnix/Makefile

Modified: head/lang/afnix/Makefile
==============================================================================
--- head/lang/afnix/Makefile	Fri Jun 26 13:28:52 2015	(r390639)
+++ head/lang/afnix/Makefile	Fri Jun 26 14:09:58 2015	(r390640)
@@ -11,7 +11,9 @@ DISTNAME=	${PORTNAME}-src-${PORTVERSION}
 MAINTAINER=	johans@FreeBSD.org
 COMMENT=	Multi-threaded functional programming language
 
-USES=		gmake tar:tgz
+BROKEN_powerpc=		does not configure
+
+USES=		compiler:c++11-lang gmake tar:tgz
 USE_LDCONFIG=	yes
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	cnf/bin/afnix-setup
@@ -23,12 +25,6 @@ PLIST_SUB=	PORTVER=${PORTVERSION:R}
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "powerpc"
-BROKEN=		Does not configure on powerpc
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|$$(CP)|$$(BSD_INSTALL_PROGRAM)|' \
 		${WRKSRC}/src/*/*/exe/Makefile
@@ -41,13 +37,6 @@ post-build:
 	@cd ${WRKSRC}/prj && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} doc
 
 post-install:
-.if ! ${PORT_OPTIONS:MDOCS}
-. for i in ${MAN1} ${MAN3} ${MAN7}
-	${INSTALL_MAN} ${WRKSRC}/bld/${PORTNAME}-doc-${PORTVERSION}/man/$i \
-		${STAGEDIR}${MANPREFIX}/man/man${i:E}/
-. endfor
-.else
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${MAKE_CMD} publish
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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