Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2015 22:05:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197228] [NEW PORT] graphics/librasterlite2
Message-ID:  <bug-197228-13-mVnxTc8cqg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197228-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197228-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197228

--- Comment #1 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 152419
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D152419
librasterlite2 port

Can you reindent Makefile with tab width 8 to make it look consistently?
Otherwise, provide vim/emacs hinting in modeline.

>+DISTNAME=3D		${PORTNAME}-${PORTVERSION}-rc0

Define DISTVERSIONSUFFIX instead.

>+GNU_CONFIGURE=3D	yes

If the build glue were preprocessed by automake you may also want

  INSTALL_TARGET=3D    install-strip

to avoid warnings when building with DEVELOPER=3D1.

>+CONFIGURE_ARGS+=3D	LIBLZMA_CFLAGS=3D-I/usr/include LIBLZMA_LIBS=3D-I/usr/=
lib

Bogus _LIBS and variables should be passed via CONFIGURE_ENV.

Besides, pass implicit CFLAGS/LDFLAGS to base libs may break port dependenc=
ies
e.g., where libgcc_s or libstdc++ is located, which iconv.h to use. Try the
following instead:

  # Work around PKG_CHECK_MODULES before base r276898
  .if !exists(/usr/libdata/pkgconfig/liblzma.pc)
  CONFIGURE_ENV+=3D    LIBLZMA_CFLAGS=3D" " LIBLZMA_LIBS=3D"-llzma"
  .endif

>+CPPFLAGS+=3D			-I${LOCALBASE}/include
>+LDFLAGS+=3D			-L${LOCALBASE}/lib -L/usr/lib

Drop -L/usr/lib per previous note.

>+
>+post-patch:
>+	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfi=
g|' \
>+		${WRKSRC}/Makefile.in

Replace with USES=3Dpathfix.

>+librasterlite is an open source library that stores and retrieves huge ra=
ster
>+coverages using a SpatiaLite DBMS.
>+
>+WWW: https://www.gaia-gis.it/fossil/librasterlite/index

Did you forget to replace after copying from graphics/librasterlite ?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197228-13-mVnxTc8cqg>