Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2014 21:21:59 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362497 - in head/math/aamath: . files
Message-ID:  <201407212121.s6LLLxSS052610@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Jul 21 21:21:59 2014
New Revision: 362497
URL: http://svnweb.freebsd.org/changeset/ports/362497
QAT: https://qat.redports.org/buildarchive/r362497/

Log:
  Second attempt to fix build on 11.0-CURRENT.

Modified:
  head/math/aamath/Makefile
  head/math/aamath/files/patch-Makefile

Modified: head/math/aamath/Makefile
==============================================================================
--- head/math/aamath/Makefile	Mon Jul 21 21:20:14 2014	(r362496)
+++ head/math/aamath/Makefile	Mon Jul 21 21:21:59 2014	(r362497)
@@ -19,6 +19,8 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 
 PLIST_FILES=	bin/aamath man/man1/aamath.1.gz
 
+CFLAGS+=	-I${LOCALBASE}/include
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

Modified: head/math/aamath/files/patch-Makefile
==============================================================================
--- head/math/aamath/files/patch-Makefile	Mon Jul 21 21:20:14 2014	(r362496)
+++ head/math/aamath/files/patch-Makefile	Mon Jul 21 21:21:59 2014	(r362497)
@@ -1,5 +1,5 @@
---- Makefile.orig
-+++ Makefile
+--- ./Makefile.orig	2005-06-22 22:12:18.000000000 +0200
++++ ./Makefile	2014-07-22 01:12:20.000000000 +0200
 @@ -1,17 +1,22 @@
 -CXX		= g++
 -LD		= g++
@@ -14,7 +14,8 @@
  LIBS		= -lreadline -ltermcap
  
  $(TARGET): $(OBJS)
- 	$(LD) $(LFLAGS) $(OBJS) -o $@ $(LIBS)
+-	$(LD) $(LFLAGS) $(OBJS) -o $@ $(LIBS)
++	$(LD) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
  
 -parser.cc parser.h: parser.y
 -	yacc -d parser.y && mv y.tab.c parser.cc && mv y.tab.h parser.h



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