svn commit: r430171 - head/shells/sparforte

John Marino marino at FreeBSD.org
Sat Dec 31 22:07:19 UTC 2016


Author: marino
Date: Sat Dec 31 22:07:17 2016
New Revision: 430171
URL: https://svnweb.freebsd.org/changeset/ports/430171

Log:
  shells/sparforte: skip -fstack-protector
  
  The gcc6-aux port doesn't build libssp* to which the stack-protctor switch
  could try to link.  I believe the bdb generator was linking with the base
  ssp libraries.  The linker couldn't find the base ssp libraries on
  DragonFly, which revealed the issue.

Modified:
  head/shells/sparforte/Makefile

Modified: head/shells/sparforte/Makefile
==============================================================================
--- head/shells/sparforte/Makefile	Sat Dec 31 22:04:02 2016	(r430170)
+++ head/shells/sparforte/Makefile	Sat Dec 31 22:07:17 2016	(r430171)
@@ -132,6 +132,7 @@ post-patch:
 	${REINPLACE_CMD} -e "s|BDB4|BDB4 -I${PREFIX}/include/db48|" \
 		-e "s|-ldb|-L${PREFIX}/lib/db48 -ldb|" \
 		-e "s|db: db.adb|db: bdb_constants.ads db.adb|" \
+		-e "s| -fstack-protector||" \
 		${WRKSRC}/src/bdb/GNUmakefile
 	# fix areadline linkage
 	${REINPLACE_CMD} -e "s|gnatlink.*|gnatlink rl.ali -L${PREFIX}/lib -lreadline -lhistory|" \


More information about the svn-ports-head mailing list