git: b717d346a088 - main - devel/cook: Mark BROKEN

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 19 Aug 2023 02:53:03 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b717d346a0889c45acde65a91187f5dc559a4df1

commit b717d346a0889c45acde65a91187f5dc559a4df1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-19 02:51:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-19 02:52:48 +0000

    devel/cook: Mark BROKEN
    
    - Fails to build with:
      a space character is not allowed in an escape sequence parameter
    - Add LICENSE GPLv3
    - Utilize USES=localbase
    - Mark DEPRECATED as upstreeam last release was in 2008 and upstream
      site is vaporized
    - Set EXPIRATION_DATE to 2023-12-31
    - Refresh patches
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/cook/Makefile                     | 14 ++++++++++----
 devel/cook/files/patch-common_ac_time.h |  6 +++---
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/devel/cook/Makefile b/devel/cook/Makefile
index c6273ca99913..acb7a62609ea 100644
--- a/devel/cook/Makefile
+++ b/devel/cook/Makefile
@@ -9,14 +9,20 @@ MAINTAINER=	jasone@FreeBSD.org
 COMMENT=	Like make(1), but more powerful and clean
 WWW=		http://miller.emu.id.au/pmiller/software/cook/
 
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BROKEN=	fails to build: a space character is not allowed in an escape sequence parameter
+DEPRECATED=	Upstream last release was in 2008
+EXPIRATION_DATE=	2023-12-31
+
+USES=		gettext groff localbase:ldflags perl5
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	YACC=yacc
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-MAKE_JOBS_UNSAFE=	yes
 
-USES=		gettext groff perl5
 DESTDIRNAME=	RPM_BUILD_ROOT
+MAKE_JOBS_UNSAFE=	yes
 
 # Make sure that the whole directory tree exists.
 pre-install:
diff --git a/devel/cook/files/patch-common_ac_time.h b/devel/cook/files/patch-common_ac_time.h
index 2e4718d4ded9..6b2e29f77c31 100644
--- a/devel/cook/files/patch-common_ac_time.h
+++ b/devel/cook/files/patch-common_ac_time.h
@@ -1,6 +1,6 @@
---- common/ac/time.h.orig	Fri Nov 29 23:15:13 2002
-+++ common/ac/time.h	Fri Nov 29 23:15:27 2002
-@@ -29,7 +29,7 @@
+--- common/ac/time.h.orig	2007-09-30 13:52:44 UTC
++++ common/ac/time.h
+@@ -27,7 +27,7 @@
   * Catch-22: Dec Alpha OSF/1: need to include time.h before sys/time.h
   * before time.h
   */