diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2015-09-13 12:49:13 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2015-09-13 12:49:13 +0000 |
commit | 6eac7214981ab3ed34a518f6a390498597e281ec (patch) | |
tree | 5b233ce26cb0cb1b237a34dcf9b2db3c89d0963a /math | |
parent | - Fix PORTREVISION to match master port (mail/mutt) (diff) |
- Attempt to fix the build on Tier-2 systems by avoiding reallocarray()
conflict (tested on PowerPC only; the build on sparc64 should be fine,
but cannot be easily completed on flame due to missing X11 bits)
- Tighten COMMENT and fix common style bugs in the Makefile while here
Notes
Notes:
svn path=/head/; revision=396813
Diffstat (limited to 'math')
-rw-r--r-- | math/asir2000/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/math/asir2000/Makefile b/math/asir2000/Makefile index 66ca14f7972b..ca9f982c846b 100644 --- a/math/asir2000/Makefile +++ b/math/asir2000/Makefile @@ -11,7 +11,7 @@ DISTFILES= ${ASIR_SRC} ${ASIR_DOC} ${GC_SRC} EXTRACT_ONLY= ${ASIR_SRC} MAINTAINER= ports@FreeBSD.org -COMMENT= The system Risa/Asir is a general computer algebra system +COMMENT= General computer algebra system (Risa/Asir) LICENSE= RALUL LICENSE_NAME= Risa/Asir Limited Use License @@ -42,18 +42,19 @@ OPTIONS_DEFINE= DOCS PORTDOCS= * PORTDATA= * -BROKEN_ia64= does not compile -BROKEN_powerpc= does not compile -BROKEN_sparc64= does not compile - post-extract: - @( cd ${WRKSRC}; ${TAR} xfz ${DISTDIR}/${GC_SRC} ) + @${TAR} xfz ${DISTDIR}/${GC_SRC} -C ${WRKSRC} @${MKDIR} ${WRKDIR}/asirdoc @${TAR} xfz ${DISTDIR}/${ASIR_DOC} -C ${WRKDIR}/asirdoc post-patch: - ${REINPLACE_CMD} '-e s|$${DESTDIR}|${STAGEDIR}|g' \ + @${REINPLACE_CMD} -e 's|$${DESTDIR}|${STAGEDIR}|' \ ${WRKSRC}/lib/Makefile.am + @${REINPLACE_CMD} -e 's|reallocarray|_&|' \ + ${WRKSRC}/include/ca.h ${WRKSRC}/parse/eval.c \ + ${WRKSRC}/parse/glob.c ${WRKSRC}/parse/load.c \ + ${WRKSRC}/parse/pvar.c ${WRKSRC}/parse/struct.c \ + ${WRKSRC}/parse/util.c post-install: ${MKDIR} ${STAGEDIR}${DATADIR} @@ -68,10 +69,11 @@ post-install: ${LN} -fs ${PREFIX}/bin/asir ${STAGEDIR}${DATADIR}/ox_plot ${LN} -fs ${PREFIX}/bin/asir ${STAGEDIR}${DATADIR}/ox_launch ${LN} -fs ${DATADIR} ${STAGEDIR}${PREFIX}/lib/asir - ${INSTALL_MAN} ${WRKDIR}/asirdoc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKDIR}/asirdoc/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1 post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKDIR}/asirdoc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKDIR}/asirdoc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> |