head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.28 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.26 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.24 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.22 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.20 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.18 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.16 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.14 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.12 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.10 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.8 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.6 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.4 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.2 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.1.0.42 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.40 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.38 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.36 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.34 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.32 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.30 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.28 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.26 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.22 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.24 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.20 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.18 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.16 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.14 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.12 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.10 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.8 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.6 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.4 pkgsrc-2017Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2022.12.15.12.14.17; author jperkin; state Exp; branches; next 1.1; commitid LxKvewuIYHdanE5E; 1.1 date 2017.09.21.14.37.40; author bsiegert; state Exp; branches; next ; commitid VkdVh9Md9D75A48A; desc @@ 1.2 log @sam: Fix build on SunOS. @ text @$NetBSD: patch-sam_Makefile,v 1.1 2017/09/21 14:37:40 bsiegert Exp $ --- sam/Makefile.orig 2017-09-21 13:54:42.000000000 +0000 +++ sam/Makefile @@@@ -1,18 +1,17 @@@@ # Copyright (c) 1992 AT&T - All rights reserved. # -# Prototype Makefile for sam +# Prototype BSDi Makefile for sam +# Courtesy of Boyd Roberts +# +# Define operating system type: -DBSDi # -# define operating system. ONE of: -# -DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1 -# -DHPUX -DAPOLLO -DCONVEX -DDYNIX -# # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified # if your compiler supports posix-compatible compilation -OS=-DIRIX -ansiposix +OS=-DBSDi -O2 # add -Iincludedir for any include directories that need to be searched # for posix header files (for UMIPS, add -I/usr/include/posix) -INCS=-I../include +INCS=-I../include -I/usr/include/posix # Set the name of the environment variable containing the user's home directory HOMEDIR=HOME @@@@ -22,12 +21,12 @@@@ HOMEDIR=HOME # where sam is to be installed. SAMSAVEDIR is the name of the directory # where the samsave file restoration script is stored. RSAMNAME=sam -TERMNAME=/v/bin/samterm -SAMDIR=/usr/bin -SAMSAVEDIR=/v/bin +TERMNAME=$(PREFIX)/bin/samterm +SAMDIR=$(PREFIX)/bin +SAMSAVEDIR=$(PREFIX)/bin # Set TMP to a good place for tmp files (with lots of room) -TMP=/usr/tmp +TMP=/var/tmp # Set SHELLNAME and SHELLPATH to the name of a shell and the pathname # of its executable @@@@ -37,7 +36,7 @@@@ SHELLPATH=/bin/sh # Set RXNAME and RXPATHNAME to the name of the remote execution command # and the pathname of its executable RXNAME=rsh -RXPATHNAME=/usr/bsd/rsh +RXPATHNAME=/usr/bin/rsh SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave @@@@ -68,9 +67,10 @@@@ nuke: clean rm -f sam install: sam - cp sam $(SAMDIR)/$(RSAMNAME) - cp samsave $(SAMSAVEDIR)/samsave - chmod +x samsave + $(BSD_INSTALL) -c sam $(SAMDIR)/$(RSAMNAME) + $(BSD_INSTALL) -c samsave $(SAMSAVEDIR)/samsave + $(BSD_INSTALL) -c B.sh $(SAMDIR)/B + chmod +x $(SAMSAVEDIR)/samsave $(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h @ 1.1 log @Support large files in sam. From trebol via pkgsrc-users. While here, regenerate patches (one per file, unified diffs). Bump PKGREVISION. (This commit message was written in sam.) @ text @d1 1 a1 1 $NetBSD$ d63 3 a65 3 + $(INSTALL) -c sam $(SAMDIR)/$(RSAMNAME) + $(INSTALL) -c samsave $(SAMSAVEDIR)/samsave + $(INSTALL) -c B.sh $(SAMDIR)/B @