aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2019-09-30 18:18:45 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2019-09-30 18:18:45 +0000
commit99cbb2b29e00fdcd3e8b0b1fa32da69c7e8f7a0f (patch)
tree88845270a123ab67fbce9ea7476d0db8cdf24dd9 /cad
parent0f48713ea0243c332613a0fd399eca09d2d8e9e2 (diff)
downloadports-99cbb2b29e00fdcd3e8b0b1fa32da69c7e8f7a0f.tar.gz
ports-99cbb2b29e00fdcd3e8b0b1fa32da69c7e8f7a0f.zip
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.
Notes
Notes: svn path=/head/; revision=513405
Diffstat (limited to 'cad')
-rw-r--r--cad/alliance/Makefile1
-rw-r--r--cad/alliance/files/patch-autostuff15
2 files changed, 16 insertions, 0 deletions
diff --git a/cad/alliance/Makefile b/cad/alliance/Makefile
index 50af56e3accf..55d3c1727e1c 100644
--- a/cad/alliance/Makefile
+++ b/cad/alliance/Makefile
@@ -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/ \
diff --git a/cad/alliance/files/patch-autostuff b/cad/alliance/files/patch-autostuff
new file mode 100644
index 000000000000..cd12a24e3a6b
--- /dev/null
+++ b/cad/alliance/files/patch-autostuff
@@ -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),,