svn commit: r554323 - head/x11/xnotify

Jan Beich jbeich at FreeBSD.org
Fri Nov 6 21:30:30 UTC 2020


Author: jbeich
Date: Fri Nov  6 21:30:25 2020
New Revision: 554323
URL: https://svnweb.freebsd.org/changeset/ports/554323

Log:
  x11/xnotify: respect LDFLAGS
  
  $ CFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address make
  [...]
  cc -o xnotify xnotify.o -L/usr/local/lib -L/usr/local/lib -lfontconfig -lXft -lX11 -lXinerama -lImlib2
  ld: error: undefined symbol: __asan_report_load8
  >>> referenced by xnotify.c:51
  >>>               xnotify.o:(usage)
  >>> referenced by xnotify.c:1082
  >>>               xnotify.o:(main)
  >>> referenced by xnotify.c:1082
  >>>               xnotify.o:(main)
  >>> referenced 172 more times

Modified:
  head/x11/xnotify/Makefile   (contents, props changed)

Modified: head/x11/xnotify/Makefile
==============================================================================
--- head/x11/xnotify/Makefile	Fri Nov  6 21:30:21 2020	(r554322)
+++ head/x11/xnotify/Makefile	Fri Nov  6 21:30:25 2020	(r554323)
@@ -18,6 +18,7 @@ USE_GITHUB=	yes
 USE_XORG=	x11 xft xinerama
 GH_ACCOUNT=	phillbush
 MAKE_ARGS=	CC="${CC}" CPPFLAGS="${CPPFLAGS} ${CFLAGS}" \
+		LDFLAGS="${LDFLAGS} \$${LIBS}" \
 		PREFIX="${PREFIX}" \
 		LOCALINC="${LOCALBASE}/include" \
 		LOCALLIB="${LOCALBASE}/lib" \


More information about the svn-ports-all mailing list