aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-02-20 00:16:34 +0800
committerthierry <thierry@FreeBSD.org>2005-02-20 00:16:34 +0800
commit7097ee734af41d67f3f000beb0e5e0f4e1e7b5ee (patch)
tree4eae4410da1efd884b48949fd165c52beb48bcc7 /security
parent31459e01770eecb2584fba51544d7b5855a6300f (diff)
downloadfreebsd-ports-graphics-7097ee734af41d67f3f000beb0e5e0f4e1e7b5ee.tar.gz
freebsd-ports-graphics-7097ee734af41d67f3f000beb0e5e0f4e1e7b5ee.tar.zst
freebsd-ports-graphics-7097ee734af41d67f3f000beb0e5e0f4e1e7b5ee.zip
Fix for compilation on 5.x.
PR: ports/76320 Submitted by: Johan van Selst
Diffstat (limited to 'security')
-rw-r--r--security/tea-total/Makefile10
-rw-r--r--security/tea-total/files/patch-Makefile6
2 files changed, 4 insertions, 12 deletions
diff --git a/security/tea-total/Makefile b/security/tea-total/Makefile
index ef56f0f9d67..4bdcb869f9a 100644
--- a/security/tea-total/Makefile
+++ b/security/tea-total/Makefile
@@ -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 @@ ONLY_FOR_ARCHS= i386
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 --git a/security/tea-total/files/patch-Makefile b/security/tea-total/files/patch-Makefile
index 2d8a941a7a9..123b351cd29 100644
--- a/security/tea-total/files/patch-Makefile
+++ b/security/tea-total/files/patch-Makefile
@@ -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