diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
commit | 29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch) | |
tree | 1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /databases/mdbtools | |
parent | - Add goocanvas (diff) |
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)
Notes
Notes:
svn path=/head/; revision=175261
Diffstat (limited to 'databases/mdbtools')
-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 0670afa7272d..dde139981702 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: |