Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 04:40:34 +0000 (UTC)
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511154 - in head/security/veracrypt: . files
Message-ID:  <201909050440.x854eYvh051139@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Thu Sep  5 04:40:34 2019
New Revision: 511154
URL: https://svnweb.freebsd.org/changeset/ports/511154

Log:
  - Fix build on i386
  
  PR:		234858
  Reported by:	emaste

Added:
  head/security/veracrypt/files/patch-src_Makefile   (contents, props changed)
Modified:
  head/security/veracrypt/Makefile

Modified: head/security/veracrypt/Makefile
==============================================================================
--- head/security/veracrypt/Makefile	Thu Sep  5 03:41:34 2019	(r511153)
+++ head/security/veracrypt/Makefile	Thu Sep  5 04:40:34 2019	(r511154)
@@ -2,7 +2,7 @@
 
 PORTNAME=	veracrypt
 PORTVERSION=	1.23
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME:S/v/V/:S/c/C/}%20${PORTVERSION}/
 DISTNAME=	${PORTNAME:S/v/V/:S/c/C/}_${PORTVERSION}_Source
@@ -24,6 +24,10 @@ DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}
 SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	DOCS
+
+.if ${ARCH} == "i386"
+MAKE_ENV+=	LFLAGS=-Wl,-z,notext
+.endif
 
 post-patch:
 	${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|g' ${WRKSRC}/src/Makefile

Added: head/security/veracrypt/files/patch-src_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/veracrypt/files/patch-src_Makefile	Thu Sep  5 04:40:34 2019	(r511154)
@@ -0,0 +1,11 @@
+--- src/Makefile	2019-09-04 22:50:16.539918000 -0500
++++ src/Makefile	2019-09-04 22:50:32.706875000 -0500
+@@ -46,7 +46,7 @@
+ export CXXFLAGS := -Wall -Wno-unused-parameter
+ C_CXX_FLAGS := -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I$(BASE_DIR) -I$(BASE_DIR)/Crypto
+ export ASFLAGS := -D __GNUC__ -D __YASM__
+-export LFLAGS :=
++export LFLAGS ?=
+ 
+ export PKG_CONFIG_PATH ?= /usr/local/lib/pkgconfig
+ 



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