1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Hopefully fix an unreproducable problem reported by buildcluster on 9.0

Build with NDEBUG and add an option for tracing.

PR:	ports/142500
Approved by:	maintainer
This commit is contained in:
Mikhail Teterin 2010-01-09 00:35:41 +00:00
parent 3f12a6c532
commit 308259c7e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247429
2 changed files with 28 additions and 2 deletions

View File

@ -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}
@ -20,12 +21,20 @@ USE_RC_SUBR= udpxy
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
RELEASE_MASCOT= Chipmunk
CFLAGS+= -DNDEBUG
OPTIONS= TRACING "Enable tracing (verbose)" off
PLIST_FILES= sbin/udpxy \
sbin/udpxrec
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/udpxy ${PREFIX}/sbin/
@${LN} -s ${PREFIX}/sbin/udpxy ${PREFIX}/sbin/udpxrec
@${LN} -s udpxy ${PREFIX}/sbin/udpxrec
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.ifdef WITH_TRACING
CFLAGS+= -DTRACE_MODULE
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,17 @@
--- Makefile 2009-07-23 19:28:41.000000000 +0000
+++ Makefile 2010-01-08 23:47:38.630600000 +0000
@@ -141,4 +141,5 @@
else
make_deps := HPATH='.' $(MKDEP_TOOL) -- $(SRC)
+$(DEPFILE): $(MKDEP_TOOL)
endif
@@ -150,6 +151,6 @@
@ls -l $@
-$(DEPFILE): $(MKDEP_TOOL) $(SRC)
- $($(MAKE)_deps) > $(DEPFILE)
+$(DEPFILE): $(SRC)
+ $(make_deps) > $(DEPFILE)
$(EXEC) : $(DEPFILE) $(OBJ)