1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add support for {Open,Net}BSD

This commit is contained in:
David E. O'Brien 1997-06-29 09:29:21 +00:00
parent 3e54ff43ee
commit 660c8633bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7113
2 changed files with 14 additions and 6 deletions

View File

@ -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

View File

@ -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