diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-07-15 07:04:57 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-07-15 07:04:57 +0800 |
commit | 7727ec16e1e4e5df237f186d17e43deb31296c58 (patch) | |
tree | ebe9a860e4fa96a038599d62ffe1879cfaaa8fe0 /x11-wm/fvwm95-i18n | |
parent | c6f33098fa5417c93ca34b6449bab385a682d7f0 (diff) | |
download | freebsd-ports-graphics-7727ec16e1e4e5df237f186d17e43deb31296c58.tar.gz freebsd-ports-graphics-7727ec16e1e4e5df237f186d17e43deb31296c58.tar.zst freebsd-ports-graphics-7727ec16e1e4e5df237f186d17e43deb31296c58.zip |
OPTIONify APM support (default off) to fix the problem signaled in:
PR: ports/100274
Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'x11-wm/fvwm95-i18n')
-rw-r--r-- | x11-wm/fvwm95-i18n/Makefile | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/x11-wm/fvwm95-i18n/Makefile b/x11-wm/fvwm95-i18n/Makefile index 1e8b6a256c9..cfc32cce32a 100644 --- a/x11-wm/fvwm95-i18n/Makefile +++ b/x11-wm/fvwm95-i18n/Makefile @@ -41,6 +41,10 @@ MAN1= fvwm95.1 xpmroot.1 FvwmAudio.1 FvwmAuto.1 FvwmBacker.1 FvwmBanner.1 \ SAMPLEDIR= ${PREFIX}/share/examples/fvwm95 KITDIR= ${WRKDIR}/${PKGNAME}-portKit +OPTIONS= APM "Build APM support (i386 only)" off + +.include <bsd.port.pre.mk> + .if defined(WITH_APM) ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= apm.h is only in i386 system @@ -52,21 +56,6 @@ post-extract: ${EXTRACT_AFTER_ARGS} -C ${WRKDIR} ${CP} ${WRKDIR}/apmpatch/freebsd-menu.xpm ${WRKSRC}/mini-icons -pre-patch: -.if !defined(BATCH) && !defined(FOR_CDROM) && !defined(WITH_APM) - @${ECHO} -n "Are you going to use APM handling? (y/n) ==> " - @(read ans; \ - case x"$$ans" in \ - xy*|xY*) \ - ${ECHO} "Okay, please rerun make like as \"make WITH_APM=yes\"."; \ - ${ECHO} "(Don't worry about the following \"*** Error code 1\"s)"; \ - return 1; \ - ;; \ - *) \ - return 0; \ - ;; \ - esac) -.endif post-patch: .if defined(WITH_APM) @${CAT} ${WRKDIR}/apmpatch/fvwm95-2.0.43a-Autoconf.I18N.apmpatch \ @@ -84,4 +73,4 @@ post-install: ${PREFIX}/lib/X11/fvwm95/ja_JP.EUC/system.fvwm95rc @${INSTALL_SCRIPT} ${KITDIR}/fvwm95.find ${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.post.mk> |