Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 01:38:21 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483759 - head/devel/librevisa-vish
Message-ID:  <201811020138.wA21cL5C037473@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Fri Nov  2 01:38:21 2018
New Revision: 483759
URL: https://svnweb.freebsd.org/changeset/ports/483759

Log:
  Fix build with GCC-based architectures.
  
  While here, simplify by adding :ldflags.
  
  PR:		232856
  Submitted by:	Piotr Kubaj

Modified:
  head/devel/librevisa-vish/Makefile

Modified: head/devel/librevisa-vish/Makefile
==============================================================================
--- head/devel/librevisa-vish/Makefile	Fri Nov  2 01:35:51 2018	(r483758)
+++ head/devel/librevisa-vish/Makefile	Fri Nov  2 01:38:21 2018	(r483759)
@@ -12,9 +12,9 @@ COMMENT=	Open Source VISA shell for interfacing test a
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811020138.wA21cL5C037473>