ports/182807: [patch update] net/ngrep fix build on 10a4

Kurt Jaeger fbsd-ports at opsec.eu
Mon Oct 7 18:40:02 UTC 2013


>Number:         182807
>Category:       ports
>Synopsis:       [patch update] net/ngrep fix build on 10a4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 07 18:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Jaeger
>Release:        FreeBSD 10.0-ALPHA4 amd64
>Organization:
-
>Environment:
System: FreeBSD f10.opsec.eu 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #0 r255933: Sun Sep 29 02:50:54 UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	net/ngrep fails to build on 10a4, see

	http://opsec.eu/backup/20131007-ngrep-fail

>How-To-Repeat:
	cd /usr/ports/net/ngrep
	make

>Fix:

diff -r -u -N net/ngrep/Makefile /usr/home/pi/myp/net/ngrep/Makefile
--- net/ngrep/Makefile	2013-10-01 21:13:45.000000000 +0200
+++ /usr/home/pi/myp/net/ngrep/Makefile	2013-10-07 20:22:20.000000000 +0200
@@ -11,7 +11,7 @@
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_BZIP2=	yes
-USE_GMAKE=	yes
+USES=		gmake
 ALL_TARGET=	ngrep
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-pcap-restart
diff -r -u -N net/ngrep/files/patch-Makefile.in /usr/home/pi/myp/net/ngrep/files/patch-Makefile.in
--- net/ngrep/files/patch-Makefile.in	2013-10-01 21:13:45.000000000 +0200
+++ /usr/home/pi/myp/net/ngrep/files/patch-Makefile.in	2013-10-07 20:30:36.000000000 +0200
@@ -1,5 +1,5 @@
---- Makefile.in.orig	Thu Feb 24 17:24:22 2005
-+++ Makefile.in	Thu Feb 24 17:24:27 2005
+--- Makefile.in.orig	2013-10-07 20:30:11.000000000 +0200
++++ Makefile.in	2013-10-07 20:30:23.000000000 +0200
 @@ -25,7 +25,7 @@
  
  bindir      = $(prefix)/bin
@@ -9,3 +9,12 @@
  
  BINDIR_INSTALL = $(prefix)/bin
  MANDIR_INSTALL = $(mandir)/man8
+@@ -63,7 +63,7 @@
+ 	rm -f config.status config.cache config.log config.h Makefile 
+ 
+ $(REGEX_OBJS): $(REGEX_OBJS:.o=.c) $(REGEX_DIR)/*.h
+-	$(MAKE) $(MAKEFLAGS) -C $(REGEX_DIR) $(notdir $(REGEX_OBJS))
++	$(MAKE) -C $(REGEX_DIR) $(notdir $(REGEX_OBJS))
+ 
+ $(OBJS): Makefile ngrep.c ngrep.h
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list