Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 08:45:38 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r405119 - branches/2016Q1/x11/antimicro
Message-ID:  <201601030845.u038jccR019650@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Jan  3 08:45:38 2016
New Revision: 405119
URL: https://svnweb.freebsd.org/changeset/ports/405119

Log:
  MFH: r405098
  
  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.

Modified:
  branches/2016Q1/x11/antimicro/Makefile
Directory Properties:
  branches/2016Q1/   (props changed)

Modified: branches/2016Q1/x11/antimicro/Makefile
==============================================================================
--- branches/2016Q1/x11/antimicro/Makefile	Sun Jan  3 08:22:38 2016	(r405118)
+++ branches/2016Q1/x11/antimicro/Makefile	Sun Jan  3 08:45:38 2016	(r405119)
@@ -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?201601030845.u038jccR019650>