Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2017 12:12:09 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454107 - head/archivers/arj
Message-ID:  <201711131212.vADCC9u5010122@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Mon Nov 13 12:12:08 2017
New Revision: 454107
URL: https://svnweb.freebsd.org/changeset/ports/454107

Log:
  - Add LLD_UNSAFE to fix build with WITH_LLD_IS_LD [1]
  - Create OPTIONS to set possible languages to be used at build time instead of
    using LOCALE environment variable [2]
  - While here, pet portlint
  - Bump PORTREVISION
  
  PR:		219716 [1], 223259 [2]
  Submitted by:	ed@ [1], Matt <fsbruva@yahoo.com> [2]
  Reported by:	O. Hartmann <iohartmann@walstatt.org> [1]
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Modified:
  head/archivers/arj/Makefile

Modified: head/archivers/arj/Makefile
==============================================================================
--- head/archivers/arj/Makefile	Mon Nov 13 12:10:01 2017	(r454106)
+++ head/archivers/arj/Makefile	Mon Nov 13 12:12:08 2017	(r454107)
@@ -3,7 +3,7 @@
 
 PORTNAME=	arj
 PORTVERSION=	3.10.22
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	archivers
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/2.78_3.10%20build%2022:source \
 		DEBIAN_POOL:patch
@@ -15,9 +15,6 @@ COMMENT=	Open source implementation of the ARJ archive
 
 LICENSE=	GPLv2
 
-PORTSCOUT=	skipv:3.10g
-
-EXTRA_PATCHES=	${WRKDIR}/debian/patches/*.patch
 IGNORE_PATCHES=	002_no_remove_static_const.patch  \
 		doc_refer_robert_k_jung.patch \
 		gnu_build_cross.patch \
@@ -26,22 +23,35 @@ IGNORE_PATCHES=	002_no_remove_static_const.patch  \
 		gnu_build_pie.patch \
 		gnu_build_strip.patch \
 		hurd_no_fcntl_getlk.patch
+
+EXTRA_PATCHES=	${WRKDIR}/debian/patches/*.patch
 PATCH_STRIP=	-p1
 
+PORTSCOUT=	skipv:3.10g
+
 USES=		alias gmake
 USE_AUTOTOOLS=	autoconf
 CONFIGURE_WRKSRC=	${WRKSRC}/gnu
 MAKEFILE=	GNUmakefile
-MAKE_ARGS=	LOCALE="${LANGUAGE}"
 ALL_TARGET=	prepare all
 STRIP=		# empty
+LLD_UNSAFE=	yes
 
 CFLAGS+=	-fPIC
-LANGUAGE?=	en
 
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
+OPTIONS_SINGLE=	LOCALE
+OPTIONS_SINGLE_LOCALE=	LOCALE_DE LOCALE_EN LOCALE_RU
+OPTIONS_DEFAULT=LOCALE_EN
+LOCALE_DESC=	Select language to define at build time
+LOCALE_DE_DESC=	German
+LOCALE_EN_DESC=	English
+LOCALE_RU_DESC=	Russian
+LOCALE_DE_MAKE_ARGS=	LOCALE=de
+LOCALE_EN_MAKE_ARGS=	LOCALE=en
+LOCALE_RU_MAKE_ARGS=	LOCALE=ru
 
 pre-patch:
 	@${RM} ${IGNORE_PATCHES:S,^,${WRKDIR}/debian/patches/,}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711131212.vADCC9u5010122>