From owner-svn-ports-head@FreeBSD.ORG Thu Dec 4 16:04:26 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D14643E; Thu, 4 Dec 2014 16:04:26 +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 292D2B5E; Thu, 4 Dec 2014 16:04:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB4G4QHn098221; Thu, 4 Dec 2014 16:04:26 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB4G4Qw5098220; Thu, 4 Dec 2014 16:04:26 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201412041604.sB4G4Qw5098220@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 4 Dec 2014 16:04:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373966 - head/emulators/dynamips-devel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2014 16:04:26 -0000 Author: amdmi3 Date: Thu Dec 4 16:04:25 2014 New Revision: 373966 URL: https://svnweb.freebsd.org/changeset/ports/373966 QAT: https://qat.redports.org/buildarchive/r373966/ Log: - Fix always true conditions Modified: head/emulators/dynamips-devel/Makefile Modified: head/emulators/dynamips-devel/Makefile ============================================================================== --- head/emulators/dynamips-devel/Makefile Thu Dec 4 16:04:00 2014 (r373965) +++ head/emulators/dynamips-devel/Makefile Thu Dec 4 16:04:25 2014 (r373966) @@ -21,7 +21,8 @@ USES= gmake ALL_TARGET= ${PORTNAME} nvram_export MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}\ PTHREAD_CFLAGS=${PTHREAD_CFLAGS}\ - PTHREAD_LIBS=${PTHREAD_LIBS} + PTHREAD_LIBS=${PTHREAD_LIBS} \ + HAS_POSIX_MEMALIGN=1 MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/${PORTNAME} bin/nvram_export @@ -43,19 +44,6 @@ DYNAMIPS_ARCH= "amd64" DYNAMIPS_ARCH= "nojit" .endif -# It required libpcap version 0.9.4 or is higher. -.if ${OSVERSION} < 700021 -BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap -MAKE_ENV+= PCAP_LIB=${LOCALBASE}/lib/libpcap.a -#.warning Do not overlook, make libpcap with LIBPCAP_OVERWRITE_BASE parameter, for use with shared library. -#LIB_DEPENDS+= pcap.\(0.9.\)?[2-9]:${PORTSDIR}/net/libpcap -#MAKE_ENV+= PCAP_LIB=-lpcap.2 -.endif - -.if ${OSVERSION} >= 700013 -MAKE_ENV+= HAS_POSIX_MEMALIGN=1 -.endif - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/nvram_export ${STAGEDIR}${PREFIX}/bin