MFH: r549456

science/luscus: Fix build on 13

Add -fcommon

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
This commit is contained in:
Yuri Victorovich 2020-09-21 22:20:36 +00:00
parent 18757193f2
commit 280dc881fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q3/; revision=549531

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