svn commit: r549456 - head/science/luscus

Yuri Victorovich yuri at FreeBSD.org
Mon Sep 21 16:24:04 UTC 2020


Author: yuri
Date: Mon Sep 21 16:24:03 2020
New Revision: 549456
URL: https://svnweb.freebsd.org/changeset/ports/549456

Log:
  science/luscus: Fix build on 13
  
  Add -fcommon
  
  Reported by:	fallout
  MFH:		2020Q3

Modified:
  head/science/luscus/Makefile

Modified: head/science/luscus/Makefile
==============================================================================
--- head/science/luscus/Makefile	Mon Sep 21 16:18:24 2020	(r549455)
+++ head/science/luscus/Makefile	Mon Sep 21 16:24:03 2020	(r549456)
@@ -28,6 +28,8 @@ USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 pango pan
 USE_GL=		gl glu
 USE_XORG=	x11
 
+CFLAGS+=	-fcommon # variables n_geometries/move_molecule/window/pix/etc are defined in the header
+
 post-patch:
 	@${REINPLACE_CMD} 's|/etc/luscus|${DATADIR}|' ${WRKSRC}/gv_system.c
 	@${REINPLACE_CMD} -i '' 's|$$HOME/\.${PORTNAME}/|${LOCALBASE}/bin/|' ${WRKSRC}/*/*/*.sh


More information about the svn-ports-all mailing list