ports/76320: security/tea-total: fix for compilation on 5.x
johans at stack.nl
johans at stack.nl
Sun Jan 16 21:00:48 UTC 2005
The following reply was made to PR ports/76320; it has been noted by GNATS.
From: johans at stack.nl
To: freebsd-gnats-submit at FreeBSD.org, johans at stack.nl
Cc:
Subject: Re: ports/76320: security/tea-total: fix for compilation on 5.x
Date: Sun, 16 Jan 2005 21:59:18 +0100 (CET)
Oops, missed the other locatoin where $(ARCH) is used.
Please use the patch below instead...
diff -uNr ../security/tea-total/Makefile tea-total/Makefile
--- ../security/tea-total/Makefile Tue Oct 12 10:36:38 2004
+++ tea-total/Makefile Sun Jan 16 21:52:24 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>
Binary files ../security/tea-total/files/.patch-Makefile.swp and tea-total/files/.patch-Makefile.swp differ
diff -uNr ../security/tea-total/files/patch-Makefile tea-total/files/patch-Makefile
--- ../security/tea-total/files/patch-Makefile Mon Nov 4 17:14:41 2002
+++ tea-total/files/patch-Makefile Sun Jan 16 21:55:20 2005
@@ -13,19 +13,17 @@
MKDIR = mkdir -p
CMP = cmp
-CFLAGS = -O2 -Wall -DARCH_$(ARCH)
-+CFLAGS += -DARCH_$(ARCH)
++CFLAGS += -DARCH_FREEBSD
LDFLAGS =
BINDIR = $(PREFIX)/bin
TEATOTAL = teatotal
-@@ -26,6 +26,11 @@
+@@ -26,6 +26,9 @@
ifeq ($(ARCH), OPENBSD)
MANDIR = $(PREFIX)/share/man/man1
RANDOM_DEVICE = \"/dev/srandom\"
+else
-+ifeq ($(ARCH), FREEBSD)
+MANDIR = $(PREFIX)/man/man1
+RANDOM_DEVICE = \"/dev/random\"
-+endif
endif
endif
More information about the freebsd-ports-bugs
mailing list