From owner-svn-ports-all@FreeBSD.ORG Tue May 6 12:26:19 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 429D9AA1; Tue, 6 May 2014 12:26:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 16C822E2; Tue, 6 May 2014 12:26:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s46CQI66084751; Tue, 6 May 2014 12:26:18 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s46CQIVb084750; Tue, 6 May 2014 12:26:18 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201405061226.s46CQIVb084750@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 6 May 2014 12:26:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353087 - head/math/libmissing X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 12:26:19 -0000 Author: bapt Date: Tue May 6 12:26:18 2014 New Revision: 353087 URL: http://svnweb.freebsd.org/changeset/ports/353087 QAT: https://qat.redports.org/buildarchive/r353087/ Log: Support stage Modernize Modified: head/math/libmissing/Makefile Modified: head/math/libmissing/Makefile ============================================================================== --- head/math/libmissing/Makefile Tue May 6 12:26:13 2014 (r353086) +++ head/math/libmissing/Makefile Tue May 6 12:26:18 2014 (r353087) @@ -9,17 +9,17 @@ MASTER_SITES= LOCAL/bf MAINTAINER= bf@FreeBSD.org COMMENT= Standard math functions missing from the FreeBSD libm -LICENSE= BSD +LICENSE= BSD2CLAUSE LIB_DEPENDS= libmpc.so:${PORTSDIR}/math/mpc USE_LDCONFIG= yes -USE_XZ= yes +USES= tar:xz uidfix MAKE_ENV= LDADD=-lmpc LIB=missing SHLIB_MAJOR="${SHLIB_MAJOR}" \ - SRCCONF=/dev/null SRCS="${SRCS}" + SRCCONF=/dev/null SRCS="${SRCS}" __MAKE_CONF=/dev/null -OPTIONS_DEFINE= PROFILE +OPTIONS_DEFINE= PROFILE EXAMPLES PLIST_FILES= include/missing_complex.h \ include/missing_math.h \ @@ -31,19 +31,16 @@ SRCS= libmissing.c CFLAGS+= -fno-builtin -fno-math-errno -I. -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +PORTEXAMPLES= ${SRCS} -NO_STAGE= yes .include .if ${OSVERSION} > 1000054 LDFLAGS+= -Wl,-z,interpose .endif -.if ${PORT_OPTIONS:MPROFILE} || defined(WITH_PROFILE) -.if defined(NOPROFILE) || defined(NO_PROFILE) || defined(WITHOUT_PROFILE) -IGNORE = you have defined WITH_PROFILE, but have also defined\ -WITHOUT_PROFILE, NOPROFILE, or NO_PROFILE -.elif !exists(/usr/lib/libc_p.a) +.if ${PORT_OPTIONS:MPROFILE} +.if !exists(/usr/lib/libc_p.a) IGNORE = you have chosen WITH_PROFILE, but have not installed the\ base system profiling libraries .endif @@ -81,11 +78,8 @@ check regression-test test: build post-install: @cd ${WRKSRC}; ${INSTALL_DATA} missing_complex.h missing_math.h \ - ${PREFIX}/include -.if !${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @cd ${WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR} + ${STAGEDIR}${PREFIX}/include + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @cd ${WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} -PORTEXAMPLES= ${SRCS} -.endif .include