- fix OpenSSL version check

- (hopefully) fix build on FreeBSD 4.x [1]
 - fix plist in the ClamAV case [2]
 - add SHA256 [2]

Submitted by:	"Herbert J. Skuhra" <h.skuhra@gmail.com> [2]
Noticed by:	YAPHR [1]
This commit is contained in:
Alexander Leidinger 2005-11-11 19:36:20 +00:00
parent fe5bc0ecd2
commit f1714d3b59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147967
8 changed files with 12 additions and 4 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= sylpheed-claws
PORTVERSION= 1.9.100
PORTREVISION= 1
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws
@ -167,7 +168,7 @@ post-patch:
s|gpgme-config|gpgme03-config|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/tools/README.sylprint ${WRKSRC}/tools/sylprint.pl
@${REINPLACE_CMD} -e "s|po intl src|po src| ; s:@SYLPHEED_GNOME:#@SYLPHEED_GNOME:g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|po intl src|po src| ; s:@SYLPHEED_GNOME:#@SYLPHEED_GNOME:g ; s:-Wno-unused-function::" ${WRKSRC}/Makefile.in
@for f in `${FIND} ${WRKSRC}/tools -type f -print`; do \
${REINPLACE_CMD} -e "s|/usr/bin/perl|${PERL}|" $$f; done
# @${LN} -s ${WRKSRC}/po/sylpheed.pot ${WRKSRC}/po/${PORTNAME}.pot

View file

@ -1,4 +1,6 @@
MD5 (sylpheed-claws-1.9.100.tar.bz2) = 863c314557f90f17c2f6d6a0ab57e6c2
SHA256 (sylpheed-claws-1.9.100.tar.bz2) = f4bf3826925caa9d1d877345671c9fbb1c4990cea500eead505806e245bca78d
SIZE (sylpheed-claws-1.9.100.tar.bz2) = 3480063
MD5 (sylpheed-iconset-20040929.tar.gz) = d72cf03bf3d13cf9e2785eaca3807707
SHA256 (sylpheed-iconset-20040929.tar.gz) = 11e791cf7187b5f3ac5a5ab5f0144d9ea8701bbc6182b30b35c30c2cc50e5210
SIZE (sylpheed-iconset-20040929.tar.gz) = 1298891

View file

@ -7,7 +7,7 @@
- PKG_CHECK_MODULES(OPENSSL, openssl >= 0.9.7, :, ac_cv_enable_openssl=no)
+ case $host_os in
+ *freebsd*)
+ if [ $(openssl version | cut -d ' ' -f 2) \< 0.9.7 ]; then
+ if test $(openssl version | cut -d ' ' -f 2) \< 0.9.7 ; then
+ ac_cv_enable_openssl=no
+ else
+ OPENSSL_LIBS=${OPENSSL_LIBS-"-lcrypto -lssl"}

View file

@ -210,6 +210,7 @@ libdata/pkgconfig/sylpheed-claws.pc
@dirrm include/sylpheed-claws
%%CLAM_PLUG%%lib/sylpheed-claws/plugins/clamav_plugin.so
%%CLAM_PLUG%%lib/sylpheed-claws/plugins/clamav_plugin_gtk.so
%%CLAM_PLUG%%lib/sylpheed-claws/plugins/clamav_plugin_gtk.deps
%%GPGME%%lib/sylpheed-claws/plugins/pgpcore.so
%%GPGME%%lib/sylpheed-claws/plugins/pgpmime.deps
%%GPGME%%lib/sylpheed-claws/plugins/pgpmime.so

View file

@ -7,6 +7,7 @@
PORTNAME= sylpheed-claws
PORTVERSION= 1.9.100
PORTREVISION= 1
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws
@ -167,7 +168,7 @@ post-patch:
s|gpgme-config|gpgme03-config|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/tools/README.sylprint ${WRKSRC}/tools/sylprint.pl
@${REINPLACE_CMD} -e "s|po intl src|po src| ; s:@SYLPHEED_GNOME:#@SYLPHEED_GNOME:g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|po intl src|po src| ; s:@SYLPHEED_GNOME:#@SYLPHEED_GNOME:g ; s:-Wno-unused-function::" ${WRKSRC}/Makefile.in
@for f in `${FIND} ${WRKSRC}/tools -type f -print`; do \
${REINPLACE_CMD} -e "s|/usr/bin/perl|${PERL}|" $$f; done
# @${LN} -s ${WRKSRC}/po/sylpheed.pot ${WRKSRC}/po/${PORTNAME}.pot

View file

@ -1,4 +1,6 @@
MD5 (sylpheed-claws-1.9.100.tar.bz2) = 863c314557f90f17c2f6d6a0ab57e6c2
SHA256 (sylpheed-claws-1.9.100.tar.bz2) = f4bf3826925caa9d1d877345671c9fbb1c4990cea500eead505806e245bca78d
SIZE (sylpheed-claws-1.9.100.tar.bz2) = 3480063
MD5 (sylpheed-iconset-20040929.tar.gz) = d72cf03bf3d13cf9e2785eaca3807707
SHA256 (sylpheed-iconset-20040929.tar.gz) = 11e791cf7187b5f3ac5a5ab5f0144d9ea8701bbc6182b30b35c30c2cc50e5210
SIZE (sylpheed-iconset-20040929.tar.gz) = 1298891

View file

@ -7,7 +7,7 @@
- PKG_CHECK_MODULES(OPENSSL, openssl >= 0.9.7, :, ac_cv_enable_openssl=no)
+ case $host_os in
+ *freebsd*)
+ if [ $(openssl version | cut -d ' ' -f 2) \< 0.9.7 ]; then
+ if test $(openssl version | cut -d ' ' -f 2) \< 0.9.7 ; then
+ ac_cv_enable_openssl=no
+ else
+ OPENSSL_LIBS=${OPENSSL_LIBS-"-lcrypto -lssl"}

View file

@ -210,6 +210,7 @@ libdata/pkgconfig/sylpheed-claws.pc
@dirrm include/sylpheed-claws
%%CLAM_PLUG%%lib/sylpheed-claws/plugins/clamav_plugin.so
%%CLAM_PLUG%%lib/sylpheed-claws/plugins/clamav_plugin_gtk.so
%%CLAM_PLUG%%lib/sylpheed-claws/plugins/clamav_plugin_gtk.deps
%%GPGME%%lib/sylpheed-claws/plugins/pgpcore.so
%%GPGME%%lib/sylpheed-claws/plugins/pgpmime.deps
%%GPGME%%lib/sylpheed-claws/plugins/pgpmime.so