summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2001-02-27 02:06:29 +0000
committerbp <bp@FreeBSD.org>2001-02-27 02:06:29 +0000
commit2e8b0854d3f99f1ad3d3ffaf1cb18a8101378649 (patch)
tree7919c143d2ef6ecbb9e3897346e056e6d68f3a05
parent163dbccdcc8fc89785bfceca18f06e07c5691ba1 (diff)
downloadFreeBSD-ports-2e8b0854d3f99f1ad3d3ffaf1cb18a8101378649.zip
FreeBSD-ports-2e8b0854d3f99f1ad3d3ffaf1cb18a8101378649.tar.gz
Update to smbfs 1.3.6.
Now kernel module will be installed to /modules for RELENG_4 and to /boot/kernel for -current. Add new configuration variable SMP_SUPPORT.
-rw-r--r--net/smbfs/Makefile37
-rw-r--r--net/smbfs/distinfo2
-rw-r--r--net/smbfs/pkg-plist3
3 files changed, 21 insertions, 21 deletions
diff --git a/net/smbfs/Makefile b/net/smbfs/Makefile
index 92018ca..7905226 100644
--- a/net/smbfs/Makefile
+++ b/net/smbfs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= smbfs
-PORTVERSION= 1.3.5
+PORTVERSION= 1.3.6
CATEGORIES= net
MASTER_SITES= ftp://ftp.butya.kz/pub/smbfs/
@@ -14,6 +14,11 @@ MAINTAINER= bp@freebsd.org
NO_PACKAGE= "Depends on kernel"
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT=configure
+
+PLIST_SUB= KMODDIR=${KMODDIR}
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400000
@@ -21,26 +26,22 @@ BROKEN= "OS versions prior to 400000 is not supported"
.endif
.if defined(WITH_ICONV)
-pre-fetch:
- @${ECHO}
- @${ECHO} "Using iconv library"
- @${ECHO}
-
LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv
+CONFIGURE_ARGS+= -DWITH_ICONV
+.endif
+
+.if defined(SMP_SUPPORT)
+CONFIGURE_ARGS+= -DSMP_SUPPORT
+.endif
-post-configure:
- @${SED} -e 's/# USE_ICONV=yes/USE_ICONV=yes/g' < ${WRKSRC}/config.mk.in > ${WRKSRC}/config.mk
-.else
pre-fetch:
- @${ECHO}
- @${ECHO} "Not Using iconv library"
- @${ECHO}
- @${ECHO} "You may set iconv library (make WITH_ICONV=yes)"
- @${ECHO} "to compile smbfs with the supplied iconv."
- @${ECHO}
-
-post-configure:
- @${CP} ${WRKSRC}/config.mk.in ${WRKSRC}/config.mk
+.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)
+ @${ECHO_MSG} "NOTE: SMP suppport can be enabled by adding "
+ @${ECHO_MSG} "\"SMB_SUPPORT=yes\" to argument of make."
.endif
post-install:
diff --git a/net/smbfs/distinfo b/net/smbfs/distinfo
index 1444b4c..bccf472 100644
--- a/net/smbfs/distinfo
+++ b/net/smbfs/distinfo
@@ -1 +1 @@
-MD5 (smbfs-1.3.5.tar.gz) = 0580d6b73d25f9dc2c8f20b6092258ea
+MD5 (smbfs-1.3.6.tar.gz) = c07667c7c1baf5695397177aff503ba7
diff --git a/net/smbfs/pkg-plist b/net/smbfs/pkg-plist
index c30426a..97e3836 100644
--- a/net/smbfs/pkg-plist
+++ b/net/smbfs/pkg-plist
@@ -1,6 +1,6 @@
@cwd /
dev/nsmb0
-modules/smbfs.ko
+%%KMODDIR%%/smbfs.ko
sbin/mount_smbfs
@cwd /usr/local
bin/smbutil
@@ -9,4 +9,3 @@ etc/rc.d/smbfs.sh.sample
lib/libsmb.a
man/man1/smbutil.1.gz
man/man8/mount_smbfs.8.gz
-@cwd /dev
OpenPOWER on IntegriCloud