aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-07-18 17:25:31 +0800
committeryuri <yuri@FreeBSD.org>2018-07-18 17:25:31 +0800
commita3ced6bc525bbeafcf34a0a5287425cee49c414a (patch)
tree9d0f17998350533a5897fe4c829771bd58206e0a /science
parent90a1b38c06611d14ee4fc3d1f4542f48eec2a884 (diff)
downloadfreebsd-ports-gnome-a3ced6bc525bbeafcf34a0a5287425cee49c414a.tar.gz
freebsd-ports-gnome-a3ced6bc525bbeafcf34a0a5287425cee49c414a.tar.zst
freebsd-ports-gnome-a3ced6bc525bbeafcf34a0a5287425cee49c414a.zip
science/libghemical: Use ${GCC_DEFAULT} in CONFIGURE_ENV
Improve the workaround line.
Diffstat (limited to 'science')
-rw-r--r--science/libghemical/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/science/libghemical/Makefile b/science/libghemical/Makefile
index c0b9263007d6..3664b05e7eb3 100644
--- a/science/libghemical/Makefile
+++ b/science/libghemical/Makefile
@@ -28,7 +28,7 @@ USE_GL= gl
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_ENV= LD_PRELOAD=${LOCALBASE}/lib/gcc6/libgcc_s.so # workaround: otherwise configure fails
+CONFIGURE_ENV= LD_PRELOAD=${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so # workaround: otherwise configure fails
CONFIGURE_ARGS+= --enable-mpqc
CPPFLAGS+= -I${LOCALBASE}/include