Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 2016 22:58:27 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405098 - head/x11/antimicro
Message-ID:  <201601022258.u02MwRc5044088@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601022258.u02MwRc5044088>