science/luscus: Fix build on 13

Add -fcommon

Reported by:	fallout
MFH:		2020Q3
This commit is contained in:
Yuri Victorovich
2020-09-21 16:24:03 +00:00
parent 3137c94f5c
commit 8bff8c662f

View File

@@ -28,6 +28,8 @@ USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango pangox-compat
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