diff options
author | perky <perky@FreeBSD.org> | 2004-04-14 11:03:14 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2004-04-14 11:03:14 +0800 |
commit | 7770c56d7b4d1e5d2a03c63383dd9c8f9b97e9c4 (patch) | |
tree | 7f5e13a810dfd1a94c272e32c5d93d69c630dc7b /devel/newt | |
parent | 66e916b990eec9a0bf1f206c878e0b86ecfec87d (diff) | |
download | freebsd-ports-gnome-7770c56d7b4d1e5d2a03c63383dd9c8f9b97e9c4.tar.gz freebsd-ports-gnome-7770c56d7b4d1e5d2a03c63383dd9c8f9b97e9c4.tar.zst freebsd-ports-gnome-7770c56d7b4d1e5d2a03c63383dd9c8f9b97e9c4.zip |
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/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile index 11d01268b860..4f619cf1a53a 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> |