1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- spatialite: install pc file in correct place [1]

- spatialite_gui: unbreak, now configures properly and is able to
  find libspatialite installed by databases/spatialite

PR:		ports/170893 [1]
Submitted by:	myself [1]
Approved by:	maintainer timeout
This commit is contained in:
Pawel Pekala 2012-09-11 17:49:21 +00:00
parent c5db3d9375
commit 6b9f8403c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304112
3 changed files with 5 additions and 4 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= spatialite
PORTVERSION= 3.0.1
PORTREVISION= 1
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
DISTNAME= lib${PORTNAME}-${PORTVERSION}
@ -34,6 +35,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.am
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
.include <bsd.port.pre.mk>

View File

@ -14,6 +14,6 @@ lib/libspatialite.a
lib/libspatialite.la
lib/libspatialite.so
lib/libspatialite.so.4
lib/pkgconfig/spatialite.pc
@dirrm lib/pkgconfig
libdata/pkgconfig/spatialite.pc
@dirrmtry libdata/pkgconfig
@dirrm include/spatialite

View File

@ -18,8 +18,6 @@ LIB_DEPENDS= gaiagraphics:${PORTSDIR}/graphics/libgaiagraphics \
freexl:${PORTSDIR}/textproc/freexl \
spatialite:${PORTSDIR}/databases/spatialite
BROKEN= does not configure
USE_WX= 2.8
WANT_UNICODE= yes
GNU_CONFIGURE= yes