aboutsummaryrefslogtreecommitdiff
path: root/net/smbfs/Makefile
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>2001-04-17 01:43:51 +0000
committerBoris Popov <bp@FreeBSD.org>2001-04-17 01:43:51 +0000
commite5860934a9ef86c905d497d7893cf09337fd6f12 (patch)
tree7ba13d2b847bce803398a6c5890bda3a9b8e9dc1 /net/smbfs/Makefile
parent0673d1554026ed488dfba2b7d1157abe67166478 (diff)
downloadports-e5860934a9ef86c905d497d7893cf09337fd6f12.tar.gz
ports-e5860934a9ef86c905d497d7893cf09337fd6f12.zip
Notes
Diffstat (limited to 'net/smbfs/Makefile')
-rw-r--r--net/smbfs/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/net/smbfs/Makefile b/net/smbfs/Makefile
index 96a33a9cd343..51b438ca63bc 100644
--- a/net/smbfs/Makefile
+++ b/net/smbfs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= smbfs
-PORTVERSION= 1.3.6
+PORTVERSION= 1.4.1
CATEGORIES= net
MASTER_SITES= ftp://ftp.butya.kz/pub/smbfs/
@@ -17,7 +17,6 @@ NO_PACKAGE= "Depends on kernel"
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT=configure
-PLIST_SUB= KMODDIR=${KMODDIR}
.include <bsd.port.pre.mk>
@@ -25,9 +24,10 @@ PLIST_SUB= KMODDIR=${KMODDIR}
BROKEN= "OS versions prior to 400000 is not supported"
.endif
-.if defined(WITH_ICONV)
-LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv
-CONFIGURE_ARGS+= -DWITH_ICONV
+.if ${OSVERSION} < 500000
+PLIST_SUB= KMODDIR=${KMODDIR}
+.else
+PLIST_SUB= KMODDIR="@comment "
.endif
.if defined(SMP_SUPPORT)
@@ -35,11 +35,7 @@ CONFIGURE_ARGS+= -DSMP_SUPPORT
.endif
pre-fetch:
-.if !defined(WITH_ICONV)
- @${ECHO_MSG} "NOTE: To enable support for various charsets "
- @${ECHO_MSG} "add \"WITH_ICONV=yes\" to argument of make."
-.endif
-.if !defined(SMP_SUPPORT)
+.if !defined(SMP_SUPPORT) && ${OSVERSION} < 500000
@${ECHO_MSG} "NOTE: SMP suppport can be enabled by adding "
@${ECHO_MSG} "\"SMP_SUPPORT=yes\" to argument of make."
.endif