aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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