svn commit: r534068 - head/devel/cvsgraph

Dirk Meyer dinoex at FreeBSD.org
Tue May 5 11:08:11 UTC 2020


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


More information about the svn-ports-all mailing list