summaryrefslogtreecommitdiff
path: root/lang/sr
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-06-29 09:29:21 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-06-29 09:29:21 +0000
commit660c8633bd295ea8aba648e95040e73e9653e676 (patch)
tree617614e02d10665286edc48795e29a8eff627e3a /lang/sr
parentAdd OpenBSD/NetBSD to the #define's (diff)
Add support for {Open,Net}BSD
Notes
Notes: svn path=/head/; revision=7113
Diffstat (limited to 'lang/sr')
-rw-r--r--lang/sr/Makefile4
-rw-r--r--lang/sr/files/patch-aa16
2 files changed, 14 insertions, 6 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile
index 5acc5a2b75b3..219182e9c23f 100644
--- a/lang/sr/Makefile
+++ b/lang/sr/Makefile
@@ -3,7 +3,7 @@
# Date created: 2 Jun 1997
# Whom: Ruslan Shevchenko <rssh@satori.ipri.kiev.ua>
#
-# $Id: Makefile,v 1.9 1996/12/12 05:08:32 max Exp $
+# $Id: Makefile,v 1.1.1.1 1997/06/26 11:28:36 max Exp $
#
DISTNAME= sr
@@ -28,7 +28,7 @@ pre-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/sr/notes
- ${MKDIR} -p ${PREFIX}/share/doc/sr/ps
+ ${MKDIR} ${PREFIX}/share/doc/sr/ps
${INSTALL_DATA} ${WRKSRC}/notes/* ${PREFIX}/share/doc/sr/notes
${INSTALL_DATA} ${WRKSRC}/ps/* ${PREFIX}/share/doc/sr/ps
${MKDIR} ${PREFIX}/share/examples/sr
diff --git a/lang/sr/files/patch-aa b/lang/sr/files/patch-aa
index 42e03aec2fb3..a36076b6a3ca 100644
--- a/lang/sr/files/patch-aa
+++ b/lang/sr/files/patch-aa
@@ -1,5 +1,5 @@
---- configure.orig Thu Dec 14 06:46:18 1995
-+++ configure Thu Jun 26 03:00:03 1997
+--- configure.orig Wed Dec 13 13:46:18 1995
++++ configure Sun Jun 29 02:25:13 1997
@@ -77,6 +77,7 @@
XINCL=/usr/include
if [ -d /usr/X11/include/X11 ]; then XINCL=/usr/X11/include; fi
@@ -8,7 +8,7 @@
if [ ! -d $XINCL/X11 ]; then XINCL=; fi
XTANGO=/home/sr/xtango/include
-@@ -125,6 +126,11 @@
+@@ -125,6 +126,19 @@
LIBM="-lm -lc"
fi
@@ -16,11 +16,19 @@
+if [ "`(uname -s) 2>/dev/null`" = "FreeBSD" ]; then
+ LIBR="-L/usr/X11R6/lib"
+fi
++# on OpenBSD, set X11R6 library
++if [ "`(uname -s) 2>/dev/null`" = "OpenBSD" ]; then
++ LIBR="-L/usr/X11R6/lib"
++fi
++# on NetBSD, set X11R6 library
++if [ "`(uname -s) 2>/dev/null`" = "NetBSD" ]; then
++ LIBR="-L/usr/X11R6/lib"
++fi
+
# if this looks like an Arizona system, use our srmap file
if grep -s '^gmt:[^:]*:0*28:0*46:' /etc/passwd >/dev/null; then
SRMAP=srmap.az
-@@ -174,11 +180,27 @@
+@@ -174,11 +188,27 @@
MAN5=/usr/man/local/man5
MANEXT=1
else