svn commit: r405098 - head/x11/antimicro

Raphael Kubo da Costa rakuco at FreeBSD.org
Sat Jan 2 22:58:28 UTC 2016


Author: rakuco
Date: Sat Jan  2 22:58:27 2016
New Revision: 405098
URL: https://svnweb.freebsd.org/changeset/ports/405098

Log:
  Fix linking after r404875.
  
  There was a typo in the line setting LDFLAGS: we need -L/some/dir, not
  /some/dir.
  
  From the logs:
    /usr/local/lib: file not recognized: Is a directory
    c++: error: linker command failed with exit code 1 (use -v to see invocation)
  
  Thanks to antoine for raising the issue, and sorry for the brain fart.
  
  MFH:		2015Q4

Modified:
  head/x11/antimicro/Makefile

Modified: head/x11/antimicro/Makefile
==============================================================================
--- head/x11/antimicro/Makefile	Sat Jan  2 22:17:23 2016	(r405097)
+++ head/x11/antimicro/Makefile	Sat Jan  2 22:58:27 2016	(r405098)
@@ -16,7 +16,7 @@ GH_ACCOUNT=	Ryochan7
 # Upstream assumes ${LOCALBASE}/lib is part of the default linker path. Pull
 # request 268 fixes it for X11 libraries, but SDL2 is still using pkg-config
 # output (without full paths).
-LDFLAGS+=	${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 USE_XORG=	x11 xtst
 USE_QT5=	linguisttools_build qmake_build buildtools_build widgets network


More information about the svn-ports-head mailing list