aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2018-10-28 19:23:17 +0800
committerlinimon <linimon@FreeBSD.org>2018-10-28 19:23:17 +0800
commite815d64068fb660ac62ba6ce279a301796aa42cd (patch)
treefbea0f99d299730b2e4a109fe2c6070592b490e9
parentcfbad234b8f0869ee0d5e6b208e86a45c5e245ad (diff)
downloadfreebsd-ports-gnome-e815d64068fb660ac62ba6ce279a301796aa42cd.tar.gz
freebsd-ports-gnome-e815d64068fb660ac62ba6ce279a301796aa42cd.tar.zst
freebsd-ports-gnome-e815d64068fb660ac62ba6ce279a301796aa42cd.zip
Fix build with GCC-based architectures.
PR: 232010 Submitted by: Piotr Kubaj
-rw-r--r--astro/starplot/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/astro/starplot/Makefile b/astro/starplot/Makefile
index 627cfb881e7c..9c82489e24e2 100644
--- a/astro/starplot/Makefile
+++ b/astro/starplot/Makefile
@@ -12,11 +12,10 @@ COMMENT= 3-dimensional viewer for star charts
OPTIONS_DEFINE= DOCS EXAMPLES
-USES= gmake pathfix gettext pkgconfig
+USES= compiler:c++11-lang gmake gnome localbase:ldflags pathfix \
+ gettext pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e \