aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2019-10-02 16:40:24 +0800
committerzeising <zeising@FreeBSD.org>2019-10-02 16:40:24 +0800
commit5181f24df94faa78874c9c5cdb1a2adc07c5f4d4 (patch)
tree850f79c324c9bd8f81cb6e302a7f34a900f6d629 /math
parent58ecbfc211483913aa4317a512fc39571b18d677 (diff)
downloadfreebsd-ports-gnome-5181f24df94faa78874c9c5cdb1a2adc07c5f4d4.tar.gz
freebsd-ports-gnome-5181f24df94faa78874c9c5cdb1a2adc07c5f4d4.tar.zst
freebsd-ports-gnome-5181f24df94faa78874c9c5cdb1a2adc07c5f4d4.zip
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
Diffstat (limited to 'math')
-rw-r--r--math/ngraph/Makefile6
-rw-r--r--math/ngraph/files/patch-Makefile2
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 <bsd.port.mk>
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
#
###############################################################################