ports/76320: security/tea-total: fix for compilation on 5.x
Johan van Selst
johans at stack.nl
Sun Jan 16 20:30:26 UTC 2005
>Number: 76320
>Category: ports
>Synopsis: security/tea-total: fix for compilation on 5.x
>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: Sun Jan 16 20:30:25 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Johan van Selst
>Release: FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD coyote.gletsjer.net 6.0-CURRENT FreeBSD 6.0-CURRENT #25: Sun Dec 26 14:32:05 CET 2004 root at coyote.gletsjer.net:/spare3/obj/spare3/src/sys/coyote i386
>Description:
The package expects ARCH_FREEBSD to be defined (not ARCH_i386).
Just setting this is the easiest fix.
>How-To-Repeat:
>Fix:
diff -uNr tea-total/Makefile tea-total/Makefile
--- tea-total/Makefile Tue Oct 12 10:36:38 2004
+++ tea-total/Makefile Sun Jan 16 21:12:12 2005
@@ -7,7 +7,7 @@
PORTNAME= tea-total
PORTVERSION= 0.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://www.alexholden.net/pub/${PORTNAME}/
@@ -20,10 +20,4 @@
USE_GMAKE= yes
MAN1= teatotal.1 tea.1 untea.1 tea-kgen.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -uNr tea-total/files/patch-Makefile tea-total/files/patch-Makefile
--- tea-total/files/patch-Makefile Mon Nov 4 17:14:41 2002
+++ tea-total/files/patch-Makefile Sun Jan 16 21:09:46 2005
@@ -13,7 +13,7 @@
MKDIR = mkdir -p
CMP = cmp
-CFLAGS = -O2 -Wall -DARCH_$(ARCH)
-+CFLAGS += -DARCH_$(ARCH)
++CFLAGS += -DARCH_FREEBSD
LDFLAGS =
BINDIR = $(PREFIX)/bin
TEATOTAL = teatotal
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list