Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2016 07:31:44 +0000 (UTC)
From:      Stephen Hurd <shurd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412721 - in head/comms/wspr: . files
Message-ID:  <201604080731.u387Vips017504@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shurd
Date: Fri Apr  8 07:31:44 2016
New Revision: 412721
URL: https://svnweb.freebsd.org/changeset/ports/412721

Log:
  Fix Make fails with a 32bit architecture.
  
  Also, add strip.
  
  PR:		200042
  Submitted by:	takefu@airport.fm

Modified:
  head/comms/wspr/Makefile
  head/comms/wspr/files/patch-configure.ac   (contents, props changed)

Modified: head/comms/wspr/Makefile
==============================================================================
--- head/comms/wspr/Makefile	Fri Apr  8 07:15:48 2016	(r412720)
+++ head/comms/wspr/Makefile	Fri Apr  8 07:31:44 2016	(r412721)
@@ -39,6 +39,8 @@ do-build:
 	(cd ${WRKSRC};${GMAKE})
 
 post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/wspr/WsprMod/w.so
+
 .if defined(BOOTSTRAP)
 #portlint freaks over this but it's only for dev ignore.
 SVN_REV!=	svn info svn://svn.code.sf.net/p/wsjt/wsjt/branches/wspr | ${GREP} Revision | cut -d' ' -f2

Modified: head/comms/wspr/files/patch-configure.ac
==============================================================================
--- head/comms/wspr/files/patch-configure.ac	Fri Apr  8 07:15:48 2016	(r412720)
+++ head/comms/wspr/files/patch-configure.ac	Fri Apr  8 07:31:44 2016	(r412721)
@@ -1,4 +1,4 @@
---- configure.ac.orig	2015-07-27 16:22:02 UTC
+--- configure.ac.orig	2016-04-08 05:56:23 UTC
 +++ configure.ac
 @@ -10,18 +10,33 @@ dnl ------------------------------------
  dnl path vars
@@ -193,7 +193,7 @@
  	;;
 +	*freebsd* )
 +		CFLAGS="${CFLAGS} -fpic"
-+		FFLAGS="-O2 -m64 -Wall -fbounds-check -fno-second-underscore \
++		FFLAGS="-O2 -m"$(/usr/bin/getconf LONG_BIT)" -Wall -fbounds-check -fno-second-underscore \
 +-Wno-conversion -Wno-character-truncation -fPIC"	;;
  	*)
  		AC_MSG_ERROR([Unsupported System: ${host_os}.])



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