From owner-svn-ports-head@FreeBSD.ORG Thu Jan 9 23:02:29 2014 Return-Path: Delivered-To: svn-ports-head@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 DBBDA25F; Thu, 9 Jan 2014 23:02:29 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C77F11895; Thu, 9 Jan 2014 23:02:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s09N2TKq081946; Thu, 9 Jan 2014 23:02:29 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s09N2TmF081945; Thu, 9 Jan 2014 23:02:29 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401092302.s09N2TmF081945@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 9 Jan 2014 23:02:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339298 - head/x11-toolkits/plib 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.17 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, 09 Jan 2014 23:02:29 -0000 Author: bapt Date: Thu Jan 9 23:02:29 2014 New Revision: 339298 URL: http://svnweb.freebsd.org/changeset/ports/339298 Log: Remove NEED_ROOT, older automake generate bogus Makefile.in that run RANLIB twice: one at build time, the second time at install time (which is wrong given the file has a 444 mode) While here remove check for unsupported versions Modified: head/x11-toolkits/plib/Makefile Modified: head/x11-toolkits/plib/Makefile ============================================================================== --- head/x11-toolkits/plib/Makefile Thu Jan 9 22:49:44 2014 (r339297) +++ head/x11-toolkits/plib/Makefile Thu Jan 9 23:02:29 2014 (r339298) @@ -14,23 +14,19 @@ USES= gmake USE_XORG= xt xi xmu xext x11 USE_GL= glu GNU_CONFIGURE= yes -NEED_ROOT= yes CXXFLAGS+= -fPIC CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.include - EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-js-jsBSD.cxx post-patch: @${REINPLACE_CMD} -e 's|-lpthread||g ; \ s|-ldl||g ; \ s|-lc_r||g' ${WRKSRC}/configure -.if ${OSVERSION} >= 800064 + @${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/src/*/Makefile.in @${ECHO} "JS component is not compiled with new usb stack" -.endif post-build: ${CC} ${CFLAGS} -o ${WRKDIR}/plib-jscal ${FILESDIR}/jsBSDCal.c @@ -38,4 +34,4 @@ post-build: post-install: ${INSTALL_PROGRAM} ${WRKDIR}/plib-jscal ${STAGEDIR}${PREFIX}/bin -.include +.include