diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2010-01-22 19:05:13 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2010-01-22 19:05:13 +0000 |
commit | 36615f6aab07db74281ff1278afc49d22d776798 (patch) | |
tree | 2b00fc1aa652da6d181f99ee1efdce3fba2e1f99 /sysutils/wuzzah | |
parent | c68f262b13c84e91c8c79c856d730a1cfbf10a88 (diff) | |
download | ports-36615f6aab07db74281ff1278afc49d22d776798.tar.gz ports-36615f6aab07db74281ff1278afc49d22d776798.zip |
Notes
Diffstat (limited to 'sysutils/wuzzah')
-rw-r--r-- | sysutils/wuzzah/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/wuzzah/Makefile b/sysutils/wuzzah/Makefile index 8533e30b0361..3dae08bb4a46 100644 --- a/sysutils/wuzzah/Makefile +++ b/sysutils/wuzzah/Makefile @@ -20,12 +20,18 @@ MAKE_JOBS_SAFE= yes PLIST_FILES= bin/wuzzah MAN1= wuzzah.1 +.include <bsd.port.pre.mk> + post-patch: - @${REINPLACE_CMD} -e '/^CFLAGS/d' \ +.if ${OSVERSION} >= 900007 + @${REINPLACE_CMD} -e '/^CFLAGS/d' -e 's|^\(SUBDIRS.*\)utmpx|\1|p' \ ${WRKSRC}/Makefile.in +.else + @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/Makefile.in +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MANPREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk> |