View | Details | Raw Unified | Return to bug 96273
Collapse All | Expand All

(-)net/bittwist/Makefile (-2 / +9 lines)
Lines 21-28 Link Here
21
21
22
.include <bsd.port.pre.mk>
22
.include <bsd.port.pre.mk>
23
23
24
.if ${OSVERSION} < 500000
24
# 5.3 is the first version to have round().
25
IGNORE=		does not build under 4.x
25
.if ${OSVERSION} < 503001
26
IGNORE=	does not build under 5.2 and older (no round())
27
.endif
28
29
# 5.3 and up do not have a new enough libpcap but does have round().
30
# 6.0 and up have both a new enough libpcap and round().
31
.if ${OSVERSION} >= 503001 && ${OSVERSION} < 600100
32
BUILD_DEPENDS=	${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
26
.endif
33
.endif
27
34
28
.include <bsd.port.post.mk>
35
.include <bsd.port.post.mk>
(-)net/bittwist/files/patch-Makefile (+16 lines)
Line 0 Link Here
1
--- Makefile.orig	Mon Apr 24 11:41:57 2006
2
+++ Makefile	Mon Apr 24 11:42:54 2006
3
@@ -5,10 +5,11 @@
4
 bindir = ${exec_prefix}/bin
5
 mandir = ${prefix}/man/man1
6
 
7
-CC = gcc
8
+CC ?= gcc
9
 DEBUG = -g
10
 #CFLAGS = -O2 -Wall $(DEBUG)
11
-CFLAGS = -O2 $(DEBUG)
12
+CFLAGS ?= -O2
13
+CFLAGS += ${DEBUG}
14
 SRC = src
15
 DOC = doc
16

Return to bug 96273