diff options
author | Boris Popov <bp@FreeBSD.org> | 2001-02-27 02:06:29 +0000 |
---|---|---|
committer | Boris Popov <bp@FreeBSD.org> | 2001-02-27 02:06:29 +0000 |
commit | 7d5173c941163fb64410493ec9326bd0bb3f4dba (patch) | |
tree | 02bb28e1d25bdbfb2c0573529a5d618734381b4a | |
parent | 85c56f8efeeb5e898d1fefd5eee8f1ee0e2112fd (diff) | |
download | ports-7d5173c941163fb64410493ec9326bd0bb3f4dba.tar.gz ports-7d5173c941163fb64410493ec9326bd0bb3f4dba.zip |
Notes
-rw-r--r-- | net/smbfs/Makefile | 37 | ||||
-rw-r--r-- | net/smbfs/distinfo | 2 | ||||
-rw-r--r-- | net/smbfs/pkg-plist | 3 |
3 files changed, 21 insertions, 21 deletions
diff --git a/net/smbfs/Makefile b/net/smbfs/Makefile index 92018cab74f8..79052266d19d 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 1444b4cb53a5..bccf47250dbc 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 c30426aa01c1..97e38360e437 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 |