cad/alliance: remove dependency on libXp

remove the dependency on libXp from cad/alliance, it isn't needed.  Fix the
configure script to not detect libXp even if it is installed on the system.
This commit is contained in:
Niclas Zeising 2019-09-30 18:18:45 +00:00
parent 0f48713ea0
commit 99cbb2b29e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513405
2 changed files with 16 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= alliance
DISTVERSION= 5.1.1
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= ftp://asim.lip6.fr/pub/alliance/distribution/5.0/ \
ftp://ftp.lyx.org/lip6/softs/alliance/distribution/5.0/ \

View File

@ -0,0 +1,15 @@
--- autostuff.orig 2019-09-30 12:32:32 UTC
+++ autostuff
@@ -237,12 +237,6 @@ XM_LIBS=""
XP_LIBS=""
if test "$motif_includes" != "no" && test "$motif_libraries" != "no"
then
-dnl Motif 2.1 wants `-lXp' (X11R6.3 print server)
-AC_CHECK_LIB(Xp, XpSelectInput,
- XP_LIBS="-lXp"
- AC_DEFINE(HAVE_XP),,
- ${XPM_LIBS} ${XEXT_LIBS} ${XT_LIBS} ${X_PRE_LIBS} ${X11_LIBS} ${X_EXTRA_LIBS})
-dnl
AC_CHECK_LIB(Xm, XmCreateOptionMenu,
XM_LIBS="-lXm"
AC_DEFINE(HAVE_MOTIF),,