diff options
author | salo <salo@pkgsrc.org> | 2003-05-22 16:16:03 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-05-22 16:16:03 +0000 |
commit | 414cf8210d2019d379149e36ab68f46490d411f5 (patch) | |
tree | 7dcfe573fcf26a521213093eb0af67500b110aeb /sysutils/mtools/Makefile | |
parent | 24a781cea1ffe70c3bac2327340ce34ad9830d4c (diff) | |
download | pkgsrc-414cf8210d2019d379149e36ab68f46490d411f5.tar.gz |
PKGREVISION++
- fix device handling on NetBSD ELF (from Pavel Arnost via PR pkg/21530)
- fix floppyd handling in better and simpler way
- don't hardcode -R, use RPATH_FLAG instead
- remove unused cruft, style nits
Diffstat (limited to 'sysutils/mtools/Makefile')
-rw-r--r-- | sysutils/mtools/Makefile | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/sysutils/mtools/Makefile b/sysutils/mtools/Makefile index 61eb69a6b35..5649718d001 100644 --- a/sysutils/mtools/Makefile +++ b/sysutils/mtools/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.26 2002/02/18 15:14:41 seb Exp $ +# $NetBSD: Makefile,v 1.27 2003/05/22 16:16:03 salo Exp $ # DISTNAME= mtools-3.9.7 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.tux.org/pub/tux/knaff/mtools/ @@ -12,34 +12,22 @@ COMMENT= FAT (MS-DOS, Atari) disk access tools NOT_FOR_PLATFORM = *-*-alpha *-*-sparc64 # LP64 problem -GNU_CONFIGURE= yes -USE_GMAKE= yes +GNU_CONFIGURE= YES +USE_GMAKE= YES INFO_FILES= mtools.info + TEXINFO_OVERRIDE= YES .include "../../mk/bsd.prefs.mk" -.ifdef MTOOLS_ENABLE_FLOPPYD -USE_X11= yes -CPPFLAGS+= -I${X11BASE}/include -CONFIGURE_ARGS+= --enable-floppyd -.endif - -PLIST_SRC= ${WRKDIR}/PLIST - -pre-patch: - @${LN} -s . ${WRKSRC}/mtools - -post-patch: - @${RM} ${WRKSRC}/mtools - -post-install: -.ifdef MTOOLS_ENABLE_FLOPPYD - ${CP} ${PKGDIR}/PLIST ${PLIST_SRC} +.if defined(MTOOLS_ENABLE_FLOPPYD) && !empty(MTOOLS_ENABLE_FLOPPYD:M[Yy][Ee][Ss]) +USE_X11= YES +CPPFLAGS= -I${X11BASE}/include +CONFIGURE_ARGS= --enable-floppyd +PLIST_SUBST= NOFLOPPYD= .else - ${RM} -f ${PREFIX}/man/man1/floppyd.1 - ${RM} -f ${PREFIX}/bin/floppyd ${PREFIX}/bin/floppyd_installtest - ${GREP} -v /floppyd ${PKGDIR}/PLIST >${PLIST_SRC} +CONFIGURE_ARGS= --disable-floppyd +PLIST_SUBST= NOFLOPPYD="@comment " .endif .include "../../mk/texinfo.mk" |