summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-06-29 09:29:21 +0000
committerobrien <obrien@FreeBSD.org>1997-06-29 09:29:21 +0000
commite007ce13670e7f70cb5005c1fe895b82a20e7044 (patch)
treea8cc26fd66c09fde97e85c4b685862a1e0b51567
parent606cd800775370f09e90f61956de5dc503a62da9 (diff)
downloadFreeBSD-ports-e007ce13670e7f70cb5005c1fe895b82a20e7044.zip
FreeBSD-ports-e007ce13670e7f70cb5005c1fe895b82a20e7044.tar.gz
Add support for {Open,Net}BSD
-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 5acc5a2..219182e 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 42e03ae..a36076b6 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
OpenPOWER on IntegriCloud