MFH: r513561

editors/thoteditor: Unbreak

Unbreak editors/thoteditor by no longer link against libXp, since it is
being deprecated and slated for removal.
Add a bunch of missing xorg dependencies.

Approved by:	ports-secteam (joneum)
This commit is contained in:
Niclas Zeising 2019-10-02 10:37:13 +00:00
parent be443dbc43
commit 1c05d8ca8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=513567
2 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= thoteditor
PORTVERSION= 2.1e
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= editors www
MASTER_SITES= ftp://ftp.inrialpes.fr/pub/opera/sources/thot/ \
ftp://ftp.ruhr-uni-bochum.de/local/jk.collection/thot/
@ -12,10 +12,9 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Structured document editor, offering a graphical WYSIWYG interface
BROKEN= /usr/bin/ld: cannot find -lXp
THOT_SUBDIR= Target
USES= gmake motif
USES= gmake motif xorg
USE_XORG= ice sm x11 xext xt
WRKSRC= ${WRKDIR}/Thot/${THOT_SUBDIR}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-thot --enable-plugin --without-insure --without-amaya \

View File

@ -5,7 +5,7 @@
LDFLAGS = @LDFLAGS@ -L../indexlib -L../drawlib -L../tablelib -L../thotlib -L..
LIBS = -lThotIndex -lThotDraw -lThotTable -lThotEditor @IMGLIBS@ \
- $(MOTIF_LIBRARIES) -lXm $(X_LIBS) -lXt -lXext $(X_PRE_LIBS) \
+ %%MOTIFLIB%% -lXm -lXp -lXm $(X_LIBS) -lXt -lXext $(X_PRE_LIBS) \
+ %%MOTIFLIB%% -lXm -lXm $(X_LIBS) -lXt -lXext $(X_PRE_LIBS) \
-lX11 $(X_EXTRA_LIBS) @LIBS@ @EXTRA_LIBS@ -lm
prefix = @prefix@