Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2020 11:08:11 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r534068 - head/devel/cvsgraph
Message-ID:  <202005051108.045B8Bfr009595@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Tue May  5 11:08:11 2020
New Revision: 534068
URL: https://svnweb.freebsd.org/changeset/ports/534068

Log:
  - fix linking

Modified:
  head/devel/cvsgraph/Makefile

Modified: head/devel/cvsgraph/Makefile
==============================================================================
--- head/devel/cvsgraph/Makefile	Tue May  5 11:07:40 2020	(r534067)
+++ head/devel/cvsgraph/Makefile	Tue May  5 11:08:11 2020	(r534068)
@@ -15,11 +15,12 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libgd.so:graphics/gd
 
+USES=		localbase:ldflags
 SUB_FILES=	pkg-message
 GNU_CONFIGURE=	yes
+LDFLAGS+=	-lm
 CONFIGURE_ARGS=	--with-gd-inc=${LOCALBASE}/include \
-		--with-gd-lib=${LOCALBASE}/lib CFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${PREFIX}/lib"
+		--with-gd-lib=${LOCALBASE}/lib
 
 DOCS=		ChangeLog README
 EXAMPLES=	cvsgraphwrapper.php mkimage.php



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