1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/archivers/hpack.non-usa.only/files/patch-ac
Steve Price b8eafda329 Honor PREFIX and split up patches one patch for each file.
PR:		12056
Submitted by:	Nick Hibma <nick.hibma@jrc.it>
1999-12-29 08:52:12 +00:00

33 lines
1.2 KiB
Plaintext

--- keycvt/makefile.orig Mon May 17 16:43:30 1993
+++ keycvt/makefile Tue Dec 28 20:01:38 1999
@@ -60,6 +60,7 @@
LS = ls -l # Directory command
ECHO = echo # Echo to screen command
MAKE = make # The make command
+PREFIX ?= /usr/local
#****************************************************************************
#* *
@@ -71,7 +72,7 @@
@$(ECHO)
@$(ECHO) "To create KEYCVT you have to enter the Unix system type you want to build"
@$(ECHO) "KEYCVT for. Possible options are: aix (RS6000), aix370, aix386, convex,"
- @$(ECHO) "irix, hpux, isc, linux, mint, next, qnx, sun, svr4, ultrix, ultrix_old"
+ @$(ECHO) "freebsd, irix, hpux, isc, linux, mint, next, qnx, sun, svr4, ultrix, ultrix_old"
@$(ECHO) "(Ultrix 3.x or earlier), and uts4. If none of the above fit, try"
@$(ECHO) "'make generic', and send a copy of any changes necessary to the author,"
@$(ECHO) "pgut1@cs.aukuni.ac.nz"
@@ -128,6 +129,12 @@
convex:
@$(MAKE) keycvt CC="cc"
+
+freebsd:
+ @$(MAKE) $(PROJ) CMDC="-O2"
+
+freebsd.install:
+ $(INSTALL) $(COPY) $(STRIP) -o $(BINOWN) -g $(BINGRP) $(PROJ) $(PREFIX)/bin
# Generic: Generic BSD-ish system running gcc. Can't continue, we really
# need user intervention here.