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

(-)net/bittwist/Makefile (-9 / +3 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	bittwist
8
PORTNAME=	bittwist
9
PORTVERSION=	0.7
9
PORTVERSION=	0.72
10
CATEGORIES=	net
10
CATEGORIES=	net
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 19-35 Link Here
19
MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}"
19
MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}"
20
20
21
MAN1=		bittwist.1 bittwistb.1 bittwiste.1
21
MAN1=		bittwist.1 bittwistb.1 bittwiste.1
22
PLIST_FILES=	bin/bittwist bin/bittwistb bin/bittwiste
22
23
23
.include <bsd.port.pre.mk>
24
.include <bsd.port.pre.mk>
24
25
25
# 5.3 is the first version to have round().
26
.if ${OSVERSION} < 600032
26
.if ${OSVERSION} < 503001
27
IGNORE=	does not build under 5.2 and older (no round())
28
.endif
29
30
# 5.3 and up do not have a new enough libpcap but does have round().
31
# 6.0 and up have both a new enough libpcap and round().
32
.if ${OSVERSION} >= 503001 && ${OSVERSION} < 600100
33
BUILD_DEPENDS=	${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
27
BUILD_DEPENDS=	${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
34
.endif
28
.endif
35
29
(-)net/bittwist/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (bittwist-bsd-0.7.tar.gz) = fdb365f25903c1c49f973cdcb26868b5
1
MD5 (bittwist-bsd-0.72.tar.gz) = 917d5ff5eb0264dd59052d4a7f039822
2
SHA256 (bittwist-bsd-0.7.tar.gz) = 62060b58b41bb6e8affbf10ea28408562faf5e77a2f180be3528bbde08a7a685
2
SIZE (bittwist-bsd-0.72.tar.gz) = 37138
3
SIZE (bittwist-bsd-0.7.tar.gz) = 38755
(-)net/bittwist/files/patch-Makefile (-15 lines)
Lines 1-15 Link Here
1
--- Makefile.orig	Thu Apr 13 22:58:48 2006
2
+++ Makefile	Sat Apr 22 21:28:25 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
(-)net/bittwist/pkg-plist (-3 lines)
Lines 1-3 Link Here
1
bin/bittwist
2
bin/bittwistb
3
bin/bittwiste

Return to bug 96584