svn commit: r501883 - head/lang/clisp
Piotr Kubaj
pkubaj at FreeBSD.org
Fri May 17 19:23:08 UTC 2019
Author: pkubaj
Date: Fri May 17 19:23:07 2019
New Revision: 501883
URL: https://svnweb.freebsd.org/changeset/ports/501883
Log:
lang/clisp: fix build with GCC-based architectures
Add -lthr to LDFLAGS on GCC architectures.
While here, also add USES=localbase:ldflags.
PR: 237524
Approved by: tcberner (mentor)
Modified:
head/lang/clisp/Makefile
Modified: head/lang/clisp/Makefile
==============================================================================
--- head/lang/clisp/Makefile Fri May 17 18:43:13 2019 (r501882)
+++ head/lang/clisp/Makefile Fri May 17 19:23:07 2019 (r501883)
@@ -19,7 +19,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libavcall.a:devel/libf
LIB_DEPENDS= libreadline.so:devel/readline \
libsigsegv.so:devel/libsigsegv
-USES= gettext ghostscript gnome iconv
+USES= compiler gettext ghostscript gnome iconv localbase:ldflags
USE_GCC= any
USE_GITLAB= yes
@@ -34,11 +34,11 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" --mandir="${MANPR
--docdir="${DOCSDIR}" --with-libiconv=${ICONV_PREFIX}
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
# Complaints if the environment changes between build stages.
+LDFLAGS+= ${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
+LDFLAGS_gcc= -lthr
MAKE_ENV= ${CONFIGURE_ENV}
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${BUILD_WRKSRC}
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= ASDF BDB CLX_MIT CLX_NEW DBUS FASTCGI GDBM GLIBC GTK2 \
More information about the svn-ports-all
mailing list