--- Makefile.orig 2014-02-18 09:29:28.000000000 -0500 +++ Makefile 2014-02-18 09:41:48.000000000 -0500 @@ -23,6 +23,11 @@ USES= perl5 USE_PERL5= build +HAS_CONFIGURE= yes +OPTIONS_DEFINE= LOCALTIME +LOCALTIME_DESC= Use localtime instead of UTC + + MAN1= mapsid.1 num2dot.1 rwaddrcount.1 rwappend.1 \ rwbag.1 rwbagbuild.1 rwbagcat.1 rwbagtool.1 \ rwcat.1 rwcount.1 rwcut.1 rwdedupe.1 rwfglob.1 \ @@ -51,6 +56,13 @@ rwsender.8 NO_STAGE= yes + +.include + +.if ${PORT_OPTIONS:MLOCALTIME} +CONFIGURE_ARGS+=--enable-localtime +.endif + post-patch: @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure