[Bug 197228] [NEW PORT] graphics/librasterlite2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 6 22:05:55 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197228
--- Comment #1 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 152419
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152419
librasterlite2 port
Can you reindent Makefile with tab width 8 to make it look consistently?
Otherwise, provide vim/emacs hinting in modeline.
>+DISTNAME= ${PORTNAME}-${PORTVERSION}-rc0
Define DISTVERSIONSUFFIX instead.
>+GNU_CONFIGURE= yes
If the build glue were preprocessed by automake you may also want
INSTALL_TARGET= install-strip
to avoid warnings when building with DEVELOPER=1.
>+CONFIGURE_ARGS+= LIBLZMA_CFLAGS=-I/usr/include LIBLZMA_LIBS=-I/usr/lib
Bogus _LIBS and variables should be passed via CONFIGURE_ENV.
Besides, pass implicit CFLAGS/LDFLAGS to base libs may break port dependencies
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+= LIBLZMA_CFLAGS=" " LIBLZMA_LIBS="-llzma"
.endif
>+CPPFLAGS+= -I${LOCALBASE}/include
>+LDFLAGS+= -L${LOCALBASE}/lib -L/usr/lib
Drop -L/usr/lib per previous note.
>+
>+post-patch:
>+ @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
>+ ${WRKSRC}/Makefile.in
Replace with USES=pathfix.
>+librasterlite is an open source library that stores and retrieves huge raster
>+coverages using a SpatiaLite DBMS.
>+
>+WWW: https://www.gaia-gis.it/fossil/librasterlite/index
Did you forget to replace after copying from graphics/librasterlite ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list