diff --git a/comms/wspr/Makefile b/comms/wspr/Makefile index 56bca2115d98..7de376becaa5 100644 --- a/comms/wspr/Makefile +++ b/comms/wspr/Makefile @@ -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 diff --git a/comms/wspr/files/patch-configure.ac b/comms/wspr/files/patch-configure.ac index 2378e1096adb..8246f6b87920 100644 --- a/comms/wspr/files/patch-configure.ac +++ b/comms/wspr/files/patch-configure.ac @@ -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}.])