From owner-svn-ports-all@FreeBSD.ORG Sun Sep 7 20:14:18 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C0B1DD7; Sun, 7 Sep 2014 20:14:18 +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 36E7B15CE; Sun, 7 Sep 2014 20:14:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s87KEIlv083570; Sun, 7 Sep 2014 20:14:18 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s87KEHTD083567; Sun, 7 Sep 2014 20:14:17 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201409072014.s87KEHTD083567@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sun, 7 Sep 2014 20:14:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367603 - in head/print/panda: . 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: Sun, 07 Sep 2014 20:14:18 -0000 Author: tijl Date: Sun Sep 7 20:14:17 2014 New Revision: 367603 URL: http://svnweb.freebsd.org/changeset/ports/367603 QAT: https://qat.redports.org/buildarchive/r367603/ Log: - Convert to USES=libtool and add INSTALL_TARGET=install-strip - Add USE_AUTOTOOLS=libtoolize (and others) because ltmain.sh is a symlink Added: head/print/panda/files/patch-configure.in (contents, props changed) Modified: head/print/panda/Makefile head/print/panda/pkg-plist Modified: head/print/panda/Makefile ============================================================================== --- head/print/panda/Makefile Sun Sep 7 20:05:37 2014 (r367602) +++ head/print/panda/Makefile Sun Sep 7 20:14:17 2014 (r367603) @@ -3,7 +3,7 @@ PORTNAME= panda PORTVERSION= 0.5.4 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= print MASTER_SITES= SF \ SAVANNAH \ @@ -19,26 +19,19 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/grap libpng15.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff -USES= pathfix pkgconfig gmake tar:bzip2 -USE_BDB= yes -USE_AUTOTOOLS= libtool +GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-berkeley-db +CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include +LIBS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip +USES= gmake libtool pathfix pkgconfig tar:bzip2 +PATHFIX_MAKEFILEIN= Makefile.am +USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake +AUTOMAKE_ARGS= -a -c -f +USE_BDB= yes USE_LDCONFIG= yes -OPTIONS_DEFINE= DOCS EXAMPLES -CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include -DHAVE_LIBPNG ${PTHREAD_CFLAGS} -LIBS+= -lpng -LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS} - -post-extract: -.for file in config.sub config.guess - @${RM} ${WRKSRC}/config/${file} && ${TOUCH} ${WRKSRC}/config/${file} -.endfor - -post-patch: - ${REINPLACE_CMD} -e 's| -lpanda| $$(top_srcdir)/libpanda.la|g' \ - ${WRKSRC}/examples/Makefile.in - ${REINPLACE_CMD} -e 's,-ldb,-l${BDB_LIB_NAME},' ${WRKSRC}/configure +OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${INSTALL_MAN} ${WRKSRC}/man/panda_*.3 ${STAGEDIR}${MANPREFIX}/man/man3 Added: head/print/panda/files/patch-configure.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/panda/files/patch-configure.in Sun Sep 7 20:14:17 2014 (r367603) @@ -0,0 +1,26 @@ +--- configure.in.orig 2004-04-13 00:46:24 UTC ++++ configure.in +@@ -28,7 +28,7 @@ + dnl AC_CHECK_LIB(dmalloc, malloc) + + dnl -lpng:: +-AC_CHECK_LIB(png, png_libpng_ver, CFLAGS="$CFLAGS -DHAVE_LIBPNG" LDFLAGS="$LDFLAGS -lpng" ) ++AC_CHECK_LIB(png, png_get_libpng_ver, CFLAGS="$CFLAGS -DHAVE_LIBPNG" LDFLAGS="$LDFLAGS -lpng" ) + + dnl -ltiff: + AC_CHECK_LIB(tiff, TIFFOpen, CFLAGS="$CFLAGS -DHAVE_LIBTIFF" LDFLAGS="$LDFLAGS -ltiff") +@@ -52,12 +52,12 @@ + if test "z$DATABASE" = "zedb"; then + AC_CHECK_LIB(edb, e_db_open, + [LDFLAGS="$LDFLAGS -ledb" DATABASE="edb" AC_DEFINE([USE_EDB], [], [Use Edb])], +- [AC_MSG_RESULT([not found]), ++ [AC_MSG_RESULT([not found]) + AC_MSG_ERROR([please reinstall the Edb distribution])]) + elif test "z$DATABASE" = "zdb"; then + AC_CHECK_LIB(db, db_create, + [LDFLAGS="$LDFLAGS -ldb" DATABASE="db" AC_DEFINE([USE_DB], [], [Use Berkeley DB])], +- [AC_MSG_RESULT([not found]), ++ [AC_MSG_RESULT([not found]) + AC_MSG_ERROR([please reinstall the Berkeley DB distribution])]) + fi + fi Modified: head/print/panda/pkg-plist ============================================================================== --- head/print/panda/pkg-plist Sun Sep 7 20:05:37 2014 (r367602) +++ head/print/panda/pkg-plist Sun Sep 7 20:14:17 2014 (r367603) @@ -3,9 +3,9 @@ include/panda/functions.h include/panda/legacy.h include/panda/objects.h lib/libpanda.a -lib/libpanda.la lib/libpanda.so lib/libpanda.so.0 +lib/libpanda.so.0.0.0 libdata/pkgconfig/panda.pc man/man3/panda_addchild.3.gz man/man3/panda_addcubiccurvesegment.3.gz