Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2015 03:21:24 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384957 - in head/math/abacus: . files
Message-ID:  <201504290321.t3T3LOju007038@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Apr 29 03:21:23 2015
New Revision: 384957
URL: https://svnweb.freebsd.org/changeset/ports/384957

Log:
  math/abacus: respect ARFLAGS/LDFLAGS (-D/-fstack-protector)

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

Modified: head/math/abacus/Makefile
==============================================================================
--- head/math/abacus/Makefile	Wed Apr 29 03:20:52 2015	(r384956)
+++ head/math/abacus/Makefile	Wed Apr 29 03:21:23 2015	(r384957)
@@ -3,7 +3,7 @@
 
 PORTNAME=	abacus
 DISTVERSION=	3.2betaU1
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	math
 MASTER_SITES=	http://www.informatik.uni-koeln.de/abacus/
 
@@ -21,7 +21,7 @@ USE_PERL5=	build
 USE_LDCONFIG=	yes
 ALL_TARGET=	abacus
 MAKE_ARGS=	CCC="${CXX}" PERL="${PERL5}" STRIP="${STRIP_CMD} -x" \
-		CCFLAG_DEBOPT="${CXXFLAGS}" \
+		ARCHIVE="${AR} ${ARFLAGS}" CCFLAG_DEBOPT="${CXXFLAGS}" \
 		OSI_INCLUDE="${LOCALBASE}/include/coin"
 
 do-install:

Modified: head/math/abacus/files/patch-Makefile
==============================================================================
--- head/math/abacus/files/patch-Makefile	Wed Apr 29 03:20:52 2015	(r384956)
+++ head/math/abacus/files/patch-Makefile	Wed Apr 29 03:21:23 2015	(r384957)
@@ -27,7 +27,7 @@
  
 +$(LIBDIR)/stuff/abacus-base.so.1: $(ABACUS_O:%.o=%.So)
 +	rm -f $@
-+	$(CXX) -shared -o $@ $(ABACUS_O:%.o=%.So)
++	$(CCC) $(LDFLAGS) -shared -o $@ $(ABACUS_O:%.o=%.So)
 +
  # Build the library distribution directory (lib and lib/stuff)
 -lib-all: subdirs abacus-base lpif interface $(ADDITIONAL_LIB_ALL)



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