aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2018-11-02 09:38:21 +0800
committerlinimon <linimon@FreeBSD.org>2018-11-02 09:38:21 +0800
commit17fa37c53129c9ac3d78cc2eed11de9005dd01ef (patch)
treed9a86fdfe7ed0e6d3d6b40332c0e799512139925 /devel
parent04188cccc519b0a56860d257560c84857f97b501 (diff)
downloadfreebsd-ports-gnome-17fa37c53129c9ac3d78cc2eed11de9005dd01ef.tar.gz
freebsd-ports-gnome-17fa37c53129c9ac3d78cc2eed11de9005dd01ef.tar.zst
freebsd-ports-gnome-17fa37c53129c9ac3d78cc2eed11de9005dd01ef.zip
Fix build with GCC-based architectures.
While here, simplify by adding :ldflags. PR: 232856 Submitted by: Piotr Kubaj
Diffstat (limited to 'devel')
-rw-r--r--devel/librevisa-vish/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/librevisa-vish/Makefile b/devel/librevisa-vish/Makefile
index 8704f14333f1..d5ae3d082747 100644
--- a/devel/librevisa-vish/Makefile
+++ b/devel/librevisa-vish/Makefile
@@ -12,9 +12,9 @@ COMMENT= Open Source VISA shell for interfacing test and measurement equipment
LIB_DEPENDS= libvisa.so:devel/librevisa
+USES= compiler:c++11-lang localbase:ldflags
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lvisa
+LDFLAGS+= -lvisa
.include <bsd.port.mk>