aboutsummaryrefslogtreecommitdiff
path: root/archivers/hpack.non-usa.only
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-01 19:58:29 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-01 19:58:29 +0000
commit67839a72e6df90727659ebf1760b908dfe396fb9 (patch)
tree79c2f32fbd26e99c8df2aa8ccc08aa5ddca4ba92 /archivers/hpack.non-usa.only
parente3a4d440e727b9ab2c849bdd40bf4b6bc4f72c6d (diff)
downloadports-67839a72e6df90727659ebf1760b908dfe396fb9.tar.gz
ports-67839a72e6df90727659ebf1760b908dfe396fb9.zip
archivers/hpack.non-usa.only: USES+=ncurses, respect LDFLAGS
Notes
Notes: svn path=/head/; revision=407769
Diffstat (limited to 'archivers/hpack.non-usa.only')
-rw-r--r--archivers/hpack.non-usa.only/Makefile2
-rw-r--r--archivers/hpack.non-usa.only/files/patch-makefile18
2 files changed, 10 insertions, 10 deletions
diff --git a/archivers/hpack.non-usa.only/Makefile b/archivers/hpack.non-usa.only/Makefile
index 846d3db9d20d..d9ea922f840d 100644
--- a/archivers/hpack.non-usa.only/Makefile
+++ b/archivers/hpack.non-usa.only/Makefile
@@ -11,7 +11,7 @@ DISTNAME= hpack79src
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-System Archiver with open keys PGP-based security
-USES= alias
+USES= alias ncurses
USE_CSTD= gnu89
NO_WRKSUBDIR= yes
MAKEFILE= makefile
diff --git a/archivers/hpack.non-usa.only/files/patch-makefile b/archivers/hpack.non-usa.only/files/patch-makefile
index 3e63a463d3eb..075cc4b109a1 100644
--- a/archivers/hpack.non-usa.only/files/patch-makefile
+++ b/archivers/hpack.non-usa.only/files/patch-makefile
@@ -1,5 +1,5 @@
---- makefile.orig Tue Aug 10 18:47:06 1993
-+++ makefile Tue Jun 4 13:56:54 2002
+--- makefile.orig 1993-08-10 15:47:06 UTC
++++ makefile
@@ -42,7 +42,7 @@
PROJ = hpack
@@ -9,7 +9,7 @@
LFLAGS = -o $(PROJ) -lcurses $(CMDL) # Flags for linker
-@@ -55,6 +55,7 @@
+@@ -55,6 +55,7 @@ LS = ls -l # Directory command
ECHO = echo # Echo to screen command
MAKE = make # The make command
MV = mv # Rename command
@@ -17,7 +17,7 @@
#****************************************************************************
#* *
-@@ -68,7 +69,7 @@
+@@ -68,7 +69,7 @@ default:
@$(ECHO)
@$(ECHO) "To create HPACK, you have to enter the Unix system type you want to build it"
@$(ECHO) "for. Possible options are: aix (RS6000), aix370, aix386, bsd386, convex,"
@@ -26,13 +26,12 @@
@$(ECHO) "ultrix_old (Ultrix 3.x or earlier), and uts4. If none of the above fit,"
@$(ECHO) "try 'make generic', and send a copy of any changes necessary to the author,"
@$(ECHO) "pgut1@cs.aukuni.ac.nz"
-@@ -317,6 +318,21 @@
-
+@@ -318,6 +319,21 @@ bsd386:
convex:
@$(MAKE) hpack CMDC="-DCONVEX" CC="cc"
-+
+
+freebsd:
-+ @make $(PROJ) LFLAGS="-o $(PROJ) -ltermcap"
++ @make $(PROJ) LFLAGS="-o $(PROJ) $(LDFLAGS) -lncurses"
+ cd keycvt; make freebsd
+
+freebsd.install:
@@ -45,6 +44,7 @@
+ $(BSD_INSTALL_DATA) docs/$(PROJ).1 $(PREFIX)/man/man1
+ -[ ! -f $(PREFIX)/etc/hpack.cfg ] && $(BSD_INSTALL_DATA) -m 644 docs/hpack.cfg $(PREFIX)/etc
+ cd keycvt; $(MAKE) freebsd.install
-
++
# Generic: Generic BSD-ish system running gcc
+ generic: