summaryrefslogtreecommitdiffstats
path: root/devel/newt
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-04-14 03:03:14 +0000
committerperky <perky@FreeBSD.org>2004-04-14 03:03:14 +0000
commit7770c56d7b4d1e5d2a03c63383dd9c8f9b97e9c4 (patch)
tree7f5e13a810dfd1a94c272e32c5d93d69c630dc7b /devel/newt
parent66e916b990eec9a0bf1f206c878e0b86ecfec87d (diff)
downloadFreeBSD-ports-7770c56d7b4d1e5d2a03c63383dd9c8f9b97e9c4.zip
FreeBSD-ports-7770c56d7b4d1e5d2a03c63383dd9c8f9b97e9c4.tar.gz
Use OSVERSION instead of grep'ping libc.so to detect an existence
of wcwidth(3). Suggested by: kris
Diffstat (limited to 'devel/newt')
-rw-r--r--devel/newt/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 11d0126..4f619cf 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= perky
PKGNAMESUFFIX= ${PYTHONSUFFIX}${TCLSUFFIX}${I18NSUFFIX}
MAINTAINER= perky@FreeBSD.org
-COMMENT= Not Erik's Windowing Toolkit: console I/O handling library
+COMMENT= Not Erik's Windowing Toolkit: console I/O handling library#'
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang \
popt.0:${PORTSDIR}/devel/popt
@@ -49,9 +49,9 @@ PLIST_SUB+= TCLOPT=""
PLIST_SUB+= TCLOPT="@comment "
.endif
-_HAVE_WCHAR_LIB!= grep wcwidth ${DESTDIR}/usr/lib/libc.so 2>/dev/null \
- || true
-.if empty(_HAVE_WCHAR_LIB)
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} <= 500038
PATCH_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~perky/distfiles/
PATCH_SITE_SUBDIR= perky
@@ -78,4 +78,4 @@ post-install:
.endif
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud