diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-02-19 16:16:34 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-02-19 16:16:34 +0000 |
commit | cbc4d82e9cab075aaa732b206d5ac6e2d3f994cb (patch) | |
tree | 4ccc442fbd72014da4d9109c2621012c3c28997c /security/tea-total | |
parent | aadd0f3a5f2ad007d555aacb1928190b7589aaaf (diff) | |
download | ports-cbc4d82e9cab075aaa732b206d5ac6e2d3f994cb.tar.gz ports-cbc4d82e9cab075aaa732b206d5ac6e2d3f994cb.zip |
Notes
Diffstat (limited to 'security/tea-total')
-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 |