diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-08-27 18:28:44 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-08-27 18:28:44 +0000 |
commit | af04f763670452fa56efb90782f6f94ef6ec4630 (patch) | |
tree | 75418580d8353e3720330f85caa6327442d8081b /databases/sqlite3/Makefile | |
parent | 33ad7fb60522922e35bab1597326ec86a245fc1e (diff) |
Notes
Diffstat (limited to 'databases/sqlite3/Makefile')
-rw-r--r-- | databases/sqlite3/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index 0a3541be989c..a1790f3d4a3f 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= sqlite3 -PORTVERSION= 3.20.0 -PORTREVISION= 2 +PORTVERSION= 3.20.1 CATEGORIES= databases MASTER_SITES= https://www.sqlite.org/2017/ http://www2.sqlite.org/2017/ http://www3.sqlite.org/2017/ DISTNAME= sqlite-autoconf-${PORTVERSION:C/\.([[:digit:]])[[:>:]]/0\1/g:S/.//g}00 @@ -200,9 +199,6 @@ NULL_TRIM_CPPFLAGS= -DSQLITE_ENABLE_NULL_TRIM=1 .include <bsd.port.options.mk> # Platform Configuration -.if !defined(WITH_DEBUG) -CFLAGS+= -Os -.endif CPPFLAGS+= -DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_USLEEP=1 -DHAVE_STRCHRNUL=1 post-configure: @@ -221,7 +217,11 @@ post-install: ${RM} ${STAGEDIR}${PREFIX}/include/msvc.h # for compares with checksum from of the site -sha1: +sha1: fetch +.if defined(SHA1) && !empty(SHA1) + @sha1 -c ${SHA1} ${DISTDIR}/${ALLFILES} +.else @sha1 ${DISTDIR}/${ALLFILES} +.endif .include <bsd.port.mk> |