aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-09-21 22:20:36 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-09-21 22:20:36 +0000
commit280dc881fa9f737b73be791c2f6d949d9e97c149 (patch)
treead87e3aee8f3c7700be93c6d0d55af5cbb68caeb
parent18757193f27990bf6c7e5822f3b70db1da9082eb (diff)
downloadports-280dc881fa9f737b73be791c2f6d949d9e97c149.tar.gz
ports-280dc881fa9f737b73be791c2f6d949d9e97c149.zip
MFH: r549456
science/luscus: Fix build on 13 Add -fcommon Reported by: fallout Approved by: ports-secteam (fluffy)
Notes
Notes: svn path=/branches/2020Q3/; revision=549531
-rw-r--r--science/luscus/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/science/luscus/Makefile b/science/luscus/Makefile
index e5485332b72e..6e0606017171 100644
--- a/science/luscus/Makefile
+++ b/science/luscus/Makefile
@@ -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