- Fix build when WITH_GNOMEVFS2 is set [1]

- Install the GnomeVFS module in ${X11BASE}, where GnomeVFS will look for it
- Use USE_GCC=3.4+ rather than USE_GCC=3.4
- Remove useless USE_CONFIGURE
- Fix the GnomeVFS spelling in the OPTIONS help

Submitted by:	John Merryweather Cooper <john_m_cooper@yahoo.com> [1]
This commit is contained in:
Jean-Yves Lefort 2005-07-26 19:20:45 +00:00
parent a06a4a8e8d
commit 0597043bf6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140177
2 changed files with 13 additions and 8 deletions

View file

@ -16,15 +16,15 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities and library to manipulate NTFS partitions
GNU_CONFIGURE= yes
USE_GCC= 3.4
USE_GCC= 3.4+
USE_REINPLACE= yes
USE_GETOPT_LONG=yes
USE_CONFIGURE= yes
WANT_GNOME= yes
INSTALLS_SHLIB= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= GNOMEVFS2 "Install Gnome-VFS-2.0 libntfs interface" off
OPTIONS= GNOMEVFS2 "Install GnomeVFS 2.0 libntfs interface" off
MAN8= libntfs-gnomevfs.8 \
mkntfs.8 \
@ -53,5 +53,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|^transform.*||' ${WRKSRC}/Makefile.in \
${WRKSRC}/libntfs/Makefile.in \
${WRKSRC}/ntfsprogs/Makefile.in
@${REINPLACE_CMD} -e \
's|$$(libdir)/\(gnome-vfs-2.0/modules\)|${X11BASE}/lib/\1|; \
s|$$(sysconfdir)/\(gnome-vfs-2.0/modules\)|${X11BASE}/etc/\1|' \
${WRKSRC}/libntfs/Makefile.in
.include <bsd.port.post.mk>

View file

@ -3,7 +3,6 @@ bin/ntfscluster
bin/ntfsfix
bin/ntfsinfo
bin/ntfsls
%%GNOMEVFS2%%etc/gnome-vfs-2.0/modules/libntfs.conf
include/ntfs/attrib.h
include/ntfs/attrlist.h
include/ntfs/bitmap.h
@ -30,10 +29,6 @@ include/ntfs/support.h
include/ntfs/types.h
include/ntfs/unistr.h
include/ntfs/volume.h
%%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.a
%%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.la
%%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.so
%%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.so.1
lib/libntfs.a
lib/libntfs.la
lib/libntfs.so
@ -44,3 +39,9 @@ sbin/ntfslabel
sbin/ntfsresize
sbin/ntfsundelete
@dirrm include/ntfs
%%GNOMEVFS2%%@cwd %%X11BASE%%
%%GNOMEVFS2%%etc/gnome-vfs-2.0/modules/libntfs.conf
%%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.a
%%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.la
%%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.so
%%GNOMEVFS2%%lib/gnome-vfs-2.0/modules/libntfs-gnomevfs.so.1