aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libgda3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/libgda3/Makefile')
-rw-r--r--databases/libgda3/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/databases/libgda3/Makefile b/databases/libgda3/Makefile
index f70112b73ec3..73e600b2ff6c 100644
--- a/databases/libgda3/Makefile
+++ b/databases/libgda3/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= libgda2
-PORTVERSION= 0.8.191
+PORTVERSION= 0.8.192
CATEGORIES= databases gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= pre-gnome2/sources/libgda
+MASTER_SITE_SUBDIR= 2.0.0/sources/${PORTNAME:S/2$//}
DISTNAME= libgda-${PORTVERSION}
DIST_SUBDIR= gnome2
@@ -24,11 +24,10 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -lgdbm"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
@@ -57,12 +56,8 @@ pre-extract:
@${ECHO_MSG} "You can enable support for Postgres databases by defining WITH_POSTGRES."
.endif
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
- 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
- s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
- s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>