Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2019 08:40:25 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513557 - in head/math/ngraph: . files
Message-ID:  <201910020840.x928ePxt074615@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Wed Oct  2 08:40:24 2019
New Revision: 513557
URL: https://svnweb.freebsd.org/changeset/ports/513557

Log:
  math/ngraph: Fix build
  
  Fix build by not trying to link against libXp (since it is deprecated).
  Add missing xorg dependencies.
  remove broken
  
  MFH:		2019Q4

Modified:
  head/math/ngraph/Makefile
  head/math/ngraph/files/patch-Makefile

Modified: head/math/ngraph/Makefile
==============================================================================
--- head/math/ngraph/Makefile	Wed Oct  2 08:32:22 2019	(r513556)
+++ head/math/ngraph/Makefile	Wed Oct  2 08:40:24 2019	(r513557)
@@ -3,6 +3,7 @@
 
 PORTNAME=	ngraph
 PORTVERSION=	6.3.54
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	http://www2e.biglobe.ne.jp/~isizaka/bin/ \
 		PORTS_JP
@@ -14,8 +15,7 @@ COMMENT=	XY plotting tool for students, scientists, an
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/gpl.txt
 
-BROKEN=		/usr/bin/ld: cannot find -lXp
-
-USES=		gmake motif
+USES=		gmake motif xorg
+USE_XORG=	ice sm x11 xext xt
 
 .include <bsd.port.mk>

Modified: head/math/ngraph/files/patch-Makefile
==============================================================================
--- head/math/ngraph/files/patch-Makefile	Wed Oct  2 08:32:22 2019	(r513556)
+++ head/math/ngraph/files/patch-Makefile	Wed Oct  2 08:40:24 2019	(r513557)
@@ -67,7 +67,7 @@
 +PLATFORM  = '"for X11 [FreeBSD+Motif2.1]"'
 +X11INCLUDE = -I${LOCALBASE}/include -I/usr/dt/include
 +STATICLINK =
-+X11LIB = ${MOTIFLIB} -lm -L${LOCALBASE}/lib -lXext -lXt -lXp -lX11 -lICE -lSM
++X11LIB = ${MOTIFLIB} -lm -L${LOCALBASE}/lib -lXext -lXt -lX11 -lICE -lSM
  #
  ###############################################################################
  



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