From owner-svn-ports-head@freebsd.org Sun Sep 6 13:15:54 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 098C19CB31F; Sun, 6 Sep 2015 13:15:54 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.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 EF1731A90; Sun, 6 Sep 2015 13:15:53 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t86DFro0051937; Sun, 6 Sep 2015 13:15:53 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t86DFrhX051936; Sun, 6 Sep 2015 13:15:53 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201509061315.t86DFrhX051936@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Sun, 6 Sep 2015 13:15:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396214 - head/databases/dbh 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.20 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: Sun, 06 Sep 2015 13:15:54 -0000 Author: danfe Date: Sun Sep 6 13:15:53 2015 New Revision: 396214 URL: https://svnweb.freebsd.org/changeset/ports/396214 Log: - Unbreak the build on big-endian architectures - Deuglify Makefile by removing ${WRKSRC}/Makefile.in patching and using provided --with-pkglibdata configure switch instead - Arrange knobs in a more logical order and wrap one overly long line Tested on: flame (sparc64), eris (ia64), local Mac mini G4 (powerpc) Modified: head/databases/dbh/Makefile Modified: head/databases/dbh/Makefile ============================================================================== --- head/databases/dbh/Makefile Sun Sep 6 13:03:07 2015 (r396213) +++ head/databases/dbh/Makefile Sun Sep 6 13:15:53 2015 (r396214) @@ -14,18 +14,16 @@ LICENSE= GPLv3 CONFLICTS= dbh-[0-4]* -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip USES= libtool pkgconfig +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-pkglibdata USE_LDCONFIG= yes +INSTALL_TARGET= install-strip + OPTIONS_DEFINE= GTKDOC GTKDOC_DESC= Enable GTK html documentation -.for a in ia64 powerpc sparc64 -BROKEN_${a}= Does not compile on ia64, powerpc, or sparc64 -.endfor - .include .if ${PORT_OPTIONS:MGTKDOC} @@ -37,11 +35,12 @@ PLIST_SUB= GTKDOC="@comment " .endif post-patch: - @${REINPLACE_CMD} -e \ - 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/Makefile.in +# Fix the build on big-endian architectures. + @${REINPLACE_CMD} -e '/fractalidad/d' ${WRKSRC}/src/dbh_static.i # Needed to remove gtk-doc installation. .if empty(PORT_OPTIONS:MGTKDOC) - @${REINPLACE_CMD} -e 's|^\(SUBDIRS = src man\).*|\1|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|^\(SUBDIRS = src man\).*|\1|' \ + ${WRKSRC}/Makefile.in .endif .include