diff options
author | marcus <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
commit | 0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8 (patch) | |
tree | 17937489af4c767844fc63b684ae3e7b31948812 /databases/mdbtools/Makefile | |
parent | e959473966b963953d63d5f00fae8751f2decf0f (diff) | |
download | FreeBSD-ports-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.zip FreeBSD-ports-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.gz |
Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.
Submitted by: mezz, ahze, pav, and many others
Approved by: portmgr (implicit, kris)
Diffstat (limited to 'databases/mdbtools/Makefile')
-rw-r--r-- | databases/mdbtools/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile index 0670afa..dde1399 100644 --- a/databases/mdbtools/Makefile +++ b/databases/mdbtools/Makefile @@ -7,7 +7,7 @@ PORTNAME= mdbtools PORTVERSION= 0.5 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -19,25 +19,24 @@ BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk # To build man-pages USE_BISON= yes USE_GNOME= glib20 +WANT_GNOME= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes DOCS= AUTHORS ChangeLog HACKING NEWS README TODO MAN1= mdb-ver.1 mdb-tables.1 mdb-schema.1 mdb-sql.1 mdb-export.1 -.if defined(WITH_GNOME) || exists(${X11BASE}/libdata/pkgconfig/libgnomeui-2.0.pc) -USE_X_PREFIX= yes +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mlibgnomeui}!="" +USE_XLIB= yes USE_GNOME+= gnomeprefix gnomehack libgnomeui -PLIST_SUB+= GNOME:="" PKGNAMESUFFIX= -gnome -.else -PLIST_SUB+= GNOME:="@comment " .endif -.include <bsd.port.pre.mk> - post-patch: - @${REINPLACE_CMD} -e 's|$$(srcdir)/$$<|$$(srcdir)/$$>|g' ${WRKSRC}/doc/Makefile.in + @${REINPLACE_CMD} -e 's|$$(srcdir)/$$<|$$(srcdir)/$$>|g' \ + ${WRKSRC}/doc/Makefile.in .if !defined(NOPORTDOCS) post-install: |