svn commit: r363564 - head/devel/ncurses

Baptiste Daroussin bapt at FreeBSD.org
Thu Jul 31 10:17:26 UTC 2014


Author: bapt
Date: Thu Jul 31 10:17:25 2014
New Revision: 363564
URL: http://svnweb.freebsd.org/changeset/ports/363564
QAT: https://qat.redports.org/buildarchive/r363564/

Log:
  Prehistoric ld(1) (in FreeBSD 8) ldscript support is not fully compatible with
  medieval ld(1) (in FreeBSD 9+) or modern ld(1).
  Falls back into the regular symlink
  The issues solved by the ldscript is anyway not affecting the caveld(1) because it
  is anyway overlinking all over the place

Modified:
  head/devel/ncurses/Makefile

Modified: head/devel/ncurses/Makefile
==============================================================================
--- head/devel/ncurses/Makefile	Thu Jul 31 10:06:07 2014	(r363563)
+++ head/devel/ncurses/Makefile	Thu Jul 31 10:17:25 2014	(r363564)
@@ -124,10 +124,12 @@ post-install:
 . for f in ${DOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
 . endfor
+.if ${OSTYP} != FreeBSD || ${OSVERSION} > 900000
 	${RM} -f ${STAGEDIR}${PREFIX}/lib/libncurses.so \
 		${STAGEDIR}${PREFIX}/lib/libncursesw.so
 	${ECHO} "INPUT(libncurses.so.${RELEASE:R} AS_NEEDED(-ltinfo))" > ${STAGEDIR}${PREFIX}/lib/libncurses.so
 	${ECHO} "INPUT(libncursesw.so.${RELEASE:R} AS_NEEDED(-ltinfow))" > ${STAGEDIR}${PREFIX}/lib/libncursesw.so
+.endif
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.5.9
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list