svn commit: r390640 - head/lang/afnix
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Jun 26 14:09:59 UTC 2015
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 at 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>
More information about the svn-ports-all
mailing list