From ecb77e7a8959b58105bf53bd50dd52d27b53a9cc Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 17 Feb 2016 19:12:16 +0000 Subject: [PATCH] - Fix LICENSE - Remove always false condition Approved by: portmgr blanket --- devel/libsmdev/Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/devel/libsmdev/Makefile b/devel/libsmdev/Makefile index 64f39b9e63e6..2a6d906feb95 100644 --- a/devel/libsmdev/Makefile +++ b/devel/libsmdev/Makefile @@ -10,7 +10,8 @@ MASTER_SITES= https://github.com/libyal/libsmdev/releases/download/${PORTVERSION MAINTAINER= antoine@FreeBSD.org COMMENT= Library to access to storage media devices -LICENSE= LGPL3 +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} @@ -23,15 +24,8 @@ PORTDOCS= AUTHORS ChangeLog OPTIONS_DEFINE= DOCS -.include - -# posix_fadvise(2) did not return correct value on error -.if (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100007) || (${OSVERSION} >= 1000000 && ${OSVERSION} < 1000703) || (${OSVERSION} < 902507) -CONFIGURE_ENV+= ac_cv_func_posix_fadvise=no -.endif - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.include +.include