openbsd-ports/sysutils/tcplist/patches/patch-01
1997-11-23 23:29:44 +00:00

94 lines
1.6 KiB
Plaintext

*** Makefile.orig Sun Nov 23 18:07:22 1997
--- Makefile Sun Nov 23 18:24:24 1997
***************
*** 1,14 ****
# Compiler: eg. cc or gcc
CC = cc
# Directory to install tcplist executable
! BINDIR = /local/bin
# Directory to install tcplist man page
! MANDIR = /local/man/man1
# Location of NOIDENT file
! NOIDENT = /etc/hosts.noident
# Owner of tcplist executable
OWNER = root
--- 1,16 ----
# Compiler: eg. cc or gcc
CC = cc
+ #PREFIX= /local
+
# Directory to install tcplist executable
! BINDIR = $(PREFIX)/bin
# Directory to install tcplist man page
! MANDIR = $(PREFIX)/man/man1
# Location of NOIDENT file
! NOIDENT = $(PREFIX)/etc/hosts.noident
# Owner of tcplist executable
OWNER = root
***************
*** 45,62 ****
#
# Solaris 2.x (using LSOF):
#
! LIBRARIES = -lsocket -lnsl
! DEFS = -DLSOF
! MODE = 755
! GROUP = staff
#
# Generic LSOF:
#
! # LIBRARIES =
! # DEFS = -DLSOF
! # MODE = 755
! # GROUP = staff
#
# If you're using an old version of lsof, uncomment this:
--- 47,64 ----
#
# Solaris 2.x (using LSOF):
#
! #LIBRARIES = -lsocket -lnsl
! #DEFS = -DLSOF
! #MODE = 755
! #GROUP = staff
#
# Generic LSOF:
#
! LIBRARIES =
! DEFS = -DLSOF
! MODE = 755
! GROUP = staff
#
# If you're using an old version of lsof, uncomment this:
***************
*** 76,83 ****
RM = /bin/rm -rf
CP = /bin/cp
CHMOD = /bin/chmod
! CHOWN = /bin/chown
! CHGRP = /bin/chgrp
all:: tcplist
--- 78,85 ----
RM = /bin/rm -rf
CP = /bin/cp
CHMOD = /bin/chmod
! CHOWN = /usr/sbin/chown
! CHGRP = /usr/sbin/chgrp
all:: tcplist