aboutsummaryrefslogtreecommitdiff
path: root/net/pvm
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-10-31 23:36:04 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-10-31 23:36:04 +0000
commitd515a78c14dfe97d84e0d0b9be0393625954463d (patch)
treeb723af1dde9339e25bcab8f86495bc46b59aba4d /net/pvm
parent2f6e05e344e3aba1a188ad3bfdcff12736847ec8 (diff)
downloadports-d515a78c14dfe97d84e0d0b9be0393625954463d.tar.gz
ports-d515a78c14dfe97d84e0d0b9be0393625954463d.zip
Notes
Diffstat (limited to 'net/pvm')
-rw-r--r--net/pvm/Makefile9
-rw-r--r--net/pvm/files/patch-ab4
-rw-r--r--net/pvm/files/patch-nox1110
-rw-r--r--net/pvm/pkg-plist2
4 files changed, 21 insertions, 4 deletions
diff --git a/net/pvm/Makefile b/net/pvm/Makefile
index 9aa214b406f6..ea655115cc9d 100644
--- a/net/pvm/Makefile
+++ b/net/pvm/Makefile
@@ -15,7 +15,14 @@ EXTRACT_SUFX= .tgz
MAINTAINER= demon@FreeBSD.org
+.if defined(WITHOUT_X11)
+PKGNAMESUFFIX= -nox11
+MAKE_ENV+= WITHOUT_X11=yes
+PLIST_SUB+= X11='@comment '
+.else
USE_XLIB= yes
+PLIST_SUB+= X11=''
+.endif
WRKSRC= ${WRKDIR}/pvm3
MAKE_ENV+= PVM_ROOT=${WRKSRC} ARCHCFLAGS="${CFLAGS}"
@@ -47,7 +54,7 @@ MAN3= libpvm.3 pvm_addhosts.3 pvm_addmhf.3 pvm_advise.3 \
MLINKS= pvm_intro.1 PVM.1 pvmd3.1 pvmd.1 \
libpvm.3 libfpvm.3 pvm_putinfo.3 pvm_delinfo.3 \
pvm_addmhf.3 pvm_delmhf.3 pvm_newcontext.3 pvm_freecontext.3 \
- pvm_newcontext.3 pvm_getcontext.3
+ pvm_newcontext.3 pvm_getcontext.3 \
pvm_putinfo.3 pvm_getmboxinfo.3 pvm_setmwid.3 pvm_getmwid.3 \
pvm_settmask.3 pvm_gettmask.3 pvm_pack.3 pvm_packf.3 \
pvm_pack.3 pvm_pkbyte.3 pvm_pack.3 pvm_pkcplx.3 \
diff --git a/net/pvm/files/patch-ab b/net/pvm/files/patch-ab
index a7b9158db2ac..1f4ca2992ffc 100644
--- a/net/pvm/files/patch-ab
+++ b/net/pvm/files/patch-ab
@@ -1,4 +1,4 @@
---- xep/Makefile.aimk.orig Fri Mar 12 22:31:23 1999
+--- xep/Makefile.aimk Fri Mar 12 22:31:23 1999
+++ xep/Makefile.aimk Fri Mar 12 22:35:01 1999
@@ -24,8 +24,8 @@
CFLAGS = $(CFLOPTS) -I$(PVMIDIR) -L$(PVMLDIR) $(ARCHCFLAGS)
@@ -6,7 +6,7 @@
XLIBS = -lXaw -lXmu -lXext -lXt -lX11
-XCFLAGS = -I/usr/local/X11R5/include -I/usr/local/X11/include \
- -L/usr/local/X11R5/lib -L/usr/local/X11/lib
-+XCFLAGS = -I${X11BASE}/include -I{X11BASE}/X11/include \
++XCFLAGS = -I${X11BASE}/include \
+ -L${X11BASE}/lib
HEADERS = $(SDIR)/hostc.h $(SDIR)/imp.h $(SDIR)/myalloc.h \
diff --git a/net/pvm/files/patch-nox11 b/net/pvm/files/patch-nox11
new file mode 100644
index 000000000000..592cc35b2330
--- /dev/null
+++ b/net/pvm/files/patch-nox11
@@ -0,0 +1,10 @@
+--- xep/Makefile.aimk Fri Aug 29 10:17:48 1997
++++ xep/Makefile.aimk Thu Oct 31 18:28:36 2002
+@@ -32,3 +32,7 @@
+
++.if defined(WITHOUT_X11)
++default: mtile$(EXESFX)
++.else
+ default: mtile$(EXESFX) xep$(EXESFX)
++.endif
+
diff --git a/net/pvm/pkg-plist b/net/pvm/pkg-plist
index efa3b08190c4..f6b4d21fc472 100644
--- a/net/pvm/pkg-plist
+++ b/net/pvm/pkg-plist
@@ -57,7 +57,7 @@ lib/pvm/bin/FREEBSD/tracer
lib/pvm/bin/FREEBSD/trcsort
lib/pvm/bin/FREEBSD/trsg
lib/pvm/bin/FREEBSD/tst
-lib/pvm/bin/FREEBSD/xep
+%%X11%%lib/pvm/bin/FREEBSD/xep
include/fpvm3.h
include/fpvm3_watcom.h
include/pvm3.h