Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2016 19:58:29 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r407769 - in head/archivers/hpack.non-usa.only: . files
Message-ID:  <201602011958.u11JwTUj008471@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Feb  1 19:58:29 2016
New Revision: 407769
URL: https://svnweb.freebsd.org/changeset/ports/407769

Log:
  archivers/hpack.non-usa.only: USES+=ncurses, respect LDFLAGS

Modified:
  head/archivers/hpack.non-usa.only/Makefile
  head/archivers/hpack.non-usa.only/files/patch-makefile

Modified: head/archivers/hpack.non-usa.only/Makefile
==============================================================================
--- head/archivers/hpack.non-usa.only/Makefile	Mon Feb  1 19:50:43 2016	(r407768)
+++ head/archivers/hpack.non-usa.only/Makefile	Mon Feb  1 19:58:29 2016	(r407769)
@@ -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

Modified: head/archivers/hpack.non-usa.only/files/patch-makefile
==============================================================================
--- head/archivers/hpack.non-usa.only/files/patch-makefile	Mon Feb  1 19:50:43 2016	(r407768)
+++ head/archivers/hpack.non-usa.only/files/patch-makefile	Mon Feb  1 19:58:29 2016	(r407769)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602011958.u11JwTUj008471>