ports/142500: [PATCH] net/udpxy: pointed out by: pointyhat via erwin

Alex Deiter alex.deiter at gmail.com
Fri Jan 8 22:20:02 UTC 2010


>Number:         142500
>Category:       ports
>Synopsis:       [PATCH] net/udpxy: pointed out by: pointyhat via erwin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 08 22:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alex Deiter
>Release:        9.0-CURRENT
>Organization:
N/A
>Environment:
FreeBSD blackbox.deiter.net.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Dec 19 19:24:58 MSK 2009     root at blackbox.deiter.net.ru:/usr/obj/usr/src/sys/BLACKBOX  i386

>Description:
Patch for net/udpxy building:

===>   udpxy-1.0.14 depends on executable: gmake - found
===>  Configuring for udpxy-1.0.14
===>  Building for udpxy-1.0.14
cc -o util/mkdep util/mkdep.c
gmake: *** Deleting file `util/mkdep'
gmake: *** No rule to make target `udpxy.dep', needed by `all'.  Stop.
*** Error code 1

pointed out by: pointyhat via erwin

please review patch:

1. change ALL_TARGET to 'lean'
2. change PORTREVISION
3. add patch for Makefile
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- net/udpxy/Makefile.orig	2010-01-09 00:47:39.008680789 +0300
+++ net/udpxy/Makefile	2010-01-09 01:09:29.377053980 +0300
@@ -7,6 +7,7 @@
 
 PORTNAME=	udpxy
 PORTVERSION=	1.0.14
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${RELEASE_MASCOT}-${PORTVERSION:R}
 DISTNAME=	${PORTNAME}.${PORTVERSION:R}-${RELEASE_MASCOT}-${PORTVERSION:E}
@@ -18,6 +19,7 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}-${RELEASE_MASCOT}-${PORTVERSION:E}
 USE_RC_SUBR=	udpxy
 USE_GMAKE=	yes
+ALL_TARGET=	lean
 MAKE_JOBS_SAFE=	yes
 RELEASE_MASCOT=	Chipmunk
 
--- net/udpxy/files/patch-Makefile.orig	2010-01-09 01:08:05.330086851 +0300
+++ net/udpxy/files/patch-Makefile	2010-01-09 01:16:29.782879329 +0300
@@ -0,0 +1,14 @@
+--- Makefile.orig	2010-01-09 01:15:55.184482194 +0300
++++ Makefile	2010-01-09 01:16:23.802805697 +0300
+@@ -137,9 +137,9 @@
+ 	@$(MAKE) clean
+ 
+ ifneq ($(MKDEPOPT),)
+-make_deps := $(CC) $(CFLAGS) $(MKDEPOPT) $(SRC)
++$(MAKE)_deps := $(CC) $(CFLAGS) $(MKDEPOPT) $(SRC)
+ else
+-make_deps := HPATH='.' $(MKDEP_TOOL) -- $(SRC)
++$(MAKE)_deps := HPATH='.' $(MKDEP_TOOL) -- $(SRC)
+ endif
+ 
+ all:	$(DEPFILE) $(EXEC)


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list