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
This commit is contained in:
Niclas Zeising 2019-10-02 08:40:24 +00:00
parent dba1ef5edf
commit 8ee09bfa62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513557
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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
#
###############################################################################