aboutsummaryrefslogtreecommitdiffstats
path: root/devel/omake
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-04 08:41:11 +0800
committeredwin <edwin@FreeBSD.org>2007-10-04 08:41:11 +0800
commit08401ab584679ba575474618aea9ae870cf34d1a (patch)
tree89d01ce199123abe4719175bfd08a04f821a557e /devel/omake
parentab5645fbd297bdc50871bb1ce38ca93beddae3c4 (diff)
downloadfreebsd-ports-gnome-08401ab584679ba575474618aea9ae870cf34d1a.tar.gz
freebsd-ports-gnome-08401ab584679ba575474618aea9ae870cf34d1a.tar.zst
freebsd-ports-gnome-08401ab584679ba575474618aea9ae870cf34d1a.zip
Remove always-false/true conditions based on OSVERSION 500000
Diffstat (limited to 'devel/omake')
-rw-r--r--devel/omake/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/devel/omake/Makefile b/devel/omake/Makefile
index 944840e967de..0477d5df817b 100644
--- a/devel/omake/Makefile
+++ b/devel/omake/Makefile
@@ -29,7 +29,7 @@ INFO= omake-doc
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 500000 && exists(${LOCALBASE}/lib/libreadline.so.5)
+.if exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -50,15 +50,6 @@ post-patch:
${WRKSRC}/OMakefile ${WRKSRC}/src/main/OMakefile \
${WRKSRC}/doc/OMakefile
-#
-# Readline code is deeply broken on 4
-#
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} -E -e \
- "s,^(READLINE_ENABLED[[:space:]]*=[[:space:]]*).*,\1false," \
- ${WRKSRC}/mk/make_config ${WRKSRC}/mk/defaults
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/