diff options
-rw-r--r-- | security/tea-total/Makefile | 10 | ||||
-rw-r--r-- | security/tea-total/files/patch-Makefile | 6 |
2 files changed, 4 insertions, 12 deletions
diff --git a/security/tea-total/Makefile b/security/tea-total/Makefile index ef56f0f9d67d..4bdcb869f9a3 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 2d8a941a7a9f..123b351cd29c 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 |