From owner-svn-ports-all@FreeBSD.ORG Tue Sep 30 23:31:38 2014 Return-Path: Delivered-To: svn-ports-all@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 2860AC56; Tue, 30 Sep 2014 23:31:38 +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 1494062A; Tue, 30 Sep 2014 23:31:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8UNVbg1091144; Tue, 30 Sep 2014 23:31:37 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8UNVbo8091142; Tue, 30 Sep 2014 23:31:37 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201409302331.s8UNVbo8091142@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Tue, 30 Sep 2014 23:31:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369680 - in head/www/mohawk: . files 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-1 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, 30 Sep 2014 23:31:38 -0000 Author: marino Date: Tue Sep 30 23:31:37 2014 New Revision: 369680 URL: http://svnweb.freebsd.org/changeset/ports/369680 QAT: https://qat.redports.org/buildarchive/r369680/ Log: www/mohawk: Unbreak on DragonFly, remove useless LDFLAG The provided LDFLAG of -L${LOCALBASE}/lib/event2 would have stopped working after libevent2.so moved to ${LOCALBASE}/lib had the LDFLAG affected anything. The LDFLAG is set by Makefile.inc, and the handling of DragonFly is wrong for ports, although it might still be correct for pkgsrc. Fix that with a patch and remove the LDFLAG that doesn't do anything. No revbump required. Added: head/www/mohawk/files/patch-Makefile.inc (contents, props changed) Modified: head/www/mohawk/Makefile Modified: head/www/mohawk/Makefile ============================================================================== --- head/www/mohawk/Makefile Tue Sep 30 23:07:10 2014 (r369679) +++ head/www/mohawk/Makefile Tue Sep 30 23:31:37 2014 (r369680) @@ -25,7 +25,6 @@ PORTEXAMPLES= * USE_RC_SUBR= mohawk CFLAGS+= -I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib/event2 OPTIONS_DEFINE= EXAMPLES Added: head/www/mohawk/files/patch-Makefile.inc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mohawk/files/patch-Makefile.inc Tue Sep 30 23:31:37 2014 (r369680) @@ -0,0 +1,16 @@ +--- Makefile.inc.orig 2014-09-15 17:40:01 UTC ++++ Makefile.inc +@@ -16,13 +16,8 @@ OSVERSION!= sysctl -n kern.osreldate + YFLAGS+= -i + CLEANFILES+= parse.i + .endif +-.if ${OPSYS} == "DragonFly" +-LDFLAGS+= -L${PREFIX}/lib/event2 +-LDADD+= -levent-2.0 +-.else + LDFLAGS+= -L${PREFIX}/lib + LDADD+= -levent +-.endif + + .elif ${OPSYS} == "NetBSD" + PREFIX?= /usr/pkg