summaryrefslogtreecommitdiff
path: root/mail/faces
diff options
context:
space:
mode:
authoragc <agc>2000-05-24 09:15:57 +0000
committeragc <agc>2000-05-24 09:15:57 +0000
commitf6aaa219dd4f0ad97c7306b6d2dabd1c0768340f (patch)
treefe303179b2c594eaf77a80cff6c74fd126b82150 /mail/faces
parent5eda672cfac8a585f25d917cd4822f98ce4ccfbf (diff)
downloadpkgsrc-f6aaa219dd4f0ad97c7306b6d2dabd1c0768340f.tar.gz
More changes for Solaris - make this compile on Solaris systems where
the BSD make program is called "bmake".
Diffstat (limited to 'mail/faces')
-rw-r--r--mail/faces/Makefile11
-rw-r--r--mail/faces/files/patch-sum4
-rw-r--r--mail/faces/patches/patch-ab36
3 files changed, 25 insertions, 26 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index 2ad28129b74..dff7f9ef002 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2000/05/21 16:50:04 kim Exp $
+# $NetBSD: Makefile,v 1.14 2000/05/24 09:15:57 agc Exp $
# FreeBSD Id: Makefile,v 1.5 1997/11/17 18:47:53 max Exp
#
@@ -31,7 +31,10 @@ post-install:
@${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \
-e 's|@x11base@|'${X11BASE}'|g' < ${PKGDIR}/PLIST > ${PLIST_SRC}
-.include "../../mk/bsd.pkg.mk"
-.if (${OPSYS} == "SunOS")
-MAKE_ENV+= SVR4LIBS="-lnsl -lsocket -lgen" SYSV=-DSYSV32
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= SVR4LIBS="-lnsl -lsocket -lgen" SYSV=-DSYSV32 CC=gcc CPPFLAGS=
.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/faces/files/patch-sum b/mail/faces/files/patch-sum
index 8a67bfd2247..2b1a1fb8876 100644
--- a/mail/faces/files/patch-sum
+++ b/mail/faces/files/patch-sum
@@ -1,7 +1,7 @@
-$NetBSD: patch-sum,v 1.3 1999/12/05 22:06:22 bouyer Exp $
+$NetBSD: patch-sum,v 1.4 2000/05/24 09:15:57 agc Exp $
MD5 (patch-aa) = 04f786ec57e4d3a11393072483e1c4ba
-MD5 (patch-ab) = 840becf7fd6e726794499f82c155fc3d
+MD5 (patch-ab) = 623cfc9d0dd80a572a2c616154707fca
MD5 (patch-ac) = ccce922aaf0dd4f0e00f64f4183c3977
MD5 (patch-ad) = e5b37b52b8a19ff7cadc6bdb996b0ab2
MD5 (patch-ae) = 99849ef6139164b7236a762c5f637a59
diff --git a/mail/faces/patches/patch-ab b/mail/faces/patches/patch-ab
index 4c743904a67..bf26961785f 100644
--- a/mail/faces/patches/patch-ab
+++ b/mail/faces/patches/patch-ab
@@ -1,9 +1,8 @@
-$NetBSD: patch-ab,v 1.4 1999/10/01 07:49:19 simonb Exp $
+$NetBSD: patch-ab,v 1.5 2000/05/24 09:15:58 agc Exp $
-diff -ur ../faces-DIST/Makefile ./Makefile
---- ../faces-DIST/Makefile Fri Oct 1 14:36:38 1999
-+++ ./Makefile Fri Oct 1 14:32:03 1999
-@@ -0,0 +1,478 @@
+--- /dev/null Wed May 24 10:07:55 2000
++++ Makefile Wed May 24 10:11:02 2000
+@@ -0,0 +1,475 @@
+#
+# Makefile for faces, an icon face server, plus associated software.
+#
@@ -29,7 +28,7 @@ diff -ur ../faces-DIST/Makefile ./Makefile
+#
+#========================================================================
+# Installation prefix.
-+PREFIX ?=@localbase@
++PREFIX ?=/usr/local
+#------------------------------------------------------------------------
+# If you want audio support, then the following line should be uncommented.
+#
@@ -39,7 +38,7 @@ diff -ur ../faces-DIST/Makefile ./Makefile
+# play audio files. Alternatively you can specify your own custom
+# command here. Uncomment the following line and set appropriately.
+#
-+AUDIO_CMD = -DAUDIO_CMD=\"@localbase@/bin/rplay\"
++AUDIO_CMD = -DAUDIO_CMD=\"/usr/local/bin/rplay\"
+#========================================================================
+# Faces displays a background pattern in its' window. When the window
+# is not completely full, this gives the appearance of trying to blend
@@ -47,7 +46,7 @@ diff -ur ../faces-DIST/Makefile ./Makefile
+# can specify the name of a file containing an alternate pattern to use.
+# Uncomment the next two lines and set appropriately.
+#
-+#BACKNAME = @localbase@/sample-background
++#BACKNAME = /usr/local/sample-background
+#BACKGROUND = -DBACKGROUND=\"$(BACKNAME)\"
+#------------------------------------------------------------------------
+# Uncomment the following two lines to use the Domain Name Service to
@@ -81,12 +80,12 @@ diff -ur ../faces-DIST/Makefile ./Makefile
+#
+#DONTSHOWUSER = -DDONTSHOWUSER
+#------------------------------------------------------------------------
-+# By default, faces looks for the face images in @localbase@/faces. If
++# By default, faces looks for the face images in /usr/local/faces. If
+# you wish to specify an alternate location, then these two lines should
+# be uncommented and set appropriately. Note that the value must be
+# a single directory name, not a colon separated list of paths.
+#
-+FACEDIR = @localbase@/share/faces
++FACEDIR = /usr/local/share/faces
+CFACEDIR = -DFACEDIR=\"$(FACEDIR)\"
+#------------------------------------------------------------------------
+# It is possible to determine what type of monitoring faces does at
@@ -321,9 +320,6 @@ diff -ur ../faces-DIST/Makefile ./Makefile
+
+BINARIES = psfaces svfaces xfaces xvfaces
+
-+CC = cc
-+MAKE = make
-+
+STDSRCS = address.c get.c main.c mon.c parsefrom.c rec.c
+STDOBJS = address.o get.o main.o mon.o parsefrom.o rec.o
+STDLIBS = -L./compface -lcompface $(DNSLIB) $(SGILIBS)
@@ -374,15 +370,15 @@ diff -ur ../faces-DIST/Makefile ./Makefile
+ @echo
+ @echo "You need to specify one of the following options:"
+ @echo
-+ @echo " make sunview - to make the SunView version."
-+ @echo " make news - to make the NeWS version."
-+ @echo " make x11 - to make the X11 version."
-+ @echo " make xview - to make the XView version."
++ @echo " ${MAKE} sunview - to make the SunView version."
++ @echo " ${MAKE} news - to make the NeWS version."
++ @echo " ${MAKE} x11 - to make the X11 version."
++ @echo " ${MAKE} xview - to make the XView version."
+ @echo
+ @echo "This should be followed by:"
+ @echo
-+ @echo " make install"
-+ @echo " make clean"
++ @echo " ${MAKE} install"
++ @echo " ${MAKE} clean"
+ @echo
+
+all: x11
@@ -421,7 +417,7 @@ diff -ur ../faces-DIST/Makefile ./Makefile
+ -install -c -m 644 people.tab $(FACEDIR)
+
+install:
-+ make tables
++ ${MAKE} tables
+ (cd compface; $(MAKE) $(MAKEOPTS) install)
+ (cd filters; $(MAKE) $(MAKEOPTS) install)
+ (cd scripts; $(MAKE) $(MAKEOPTS) install)