From 8ee09bfa62611edcb0931f43b23e7e7c421b9f20 Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Wed, 2 Oct 2019 08:40:24 +0000 Subject: [PATCH] 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 --- math/ngraph/Makefile | 6 +++--- math/ngraph/files/patch-Makefile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/math/ngraph/Makefile b/math/ngraph/Makefile index 746bb305f7ef..281626c553fc 100644 --- a/math/ngraph/Makefile +++ b/math/ngraph/Makefile @@ -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, and engineers 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 diff --git a/math/ngraph/files/patch-Makefile b/math/ngraph/files/patch-Makefile index e91c8f5f2d7c..142885ac4b8c 100644 --- a/math/ngraph/files/patch-Makefile +++ b/math/ngraph/files/patch-Makefile @@ -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 # ###############################################################################