svn commit: r281834 - stable/10/usr.bin/sort

Renato Botelho garga at FreeBSD.org
Tue Apr 21 15:47:01 UTC 2015


Author: garga (ports committer)
Date: Tue Apr 21 15:47:00 2015
New Revision: 281834
URL: https://svnweb.freebsd.org/changeset/base/281834

Log:
  Replace LDFLAGS by LDADD to fix sort build with -DNO_SHARED
  
  Differential Revision:	https://reviews.freebsd.org/D2044
  Reviewed by:	sbruno@
  Approved by:	sbruno@
  Sponsored by:	Netgate

Modified:
  stable/10/usr.bin/sort/Makefile

Modified: stable/10/usr.bin/sort/Makefile
==============================================================================
--- stable/10/usr.bin/sort/Makefile	Tue Apr 21 15:00:49 2015	(r281833)
+++ stable/10/usr.bin/sort/Makefile	Tue Apr 21 15:47:00 2015	(r281834)
@@ -13,10 +13,10 @@ CLEANFILES+= sort.1
 
 .if defined(WITH_THREADS)
 CFLAGS+= -DSORT_THREADS
-LDFLAGS+= -lpthread -lmd
+LDADD+= -lpthread -lmd
 MAN_SUB+= -e 's|%%THREADS%%||g'
 .else
-LDFLAGS+= -lmd
+LDADD+= -lmd
 MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
 .endif
 


More information about the svn-src-all mailing list