aboutsummaryrefslogtreecommitdiff
path: root/palm/makeztxt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'palm/makeztxt/Makefile')
-rw-r--r--palm/makeztxt/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/palm/makeztxt/Makefile b/palm/makeztxt/Makefile
index 838004148ecd..66bd888ead87 100644
--- a/palm/makeztxt/Makefile
+++ b/palm/makeztxt/Makefile
@@ -19,13 +19,7 @@ PLIST_FILES= bin/makeztxt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
-MAKE_ENV+= USEPOSIX=1
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500000
-MAKE_ENV+= LONG_OPTS=1
-.endif
+MAKE_ENV+= USEPOSIX=1 LONG_OPTS=1
post-patch:
${REINPLACE_CMD} 's/-O2//' ${WRKSRC}/libztxt/Makefile
@@ -33,4 +27,4 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/makeztxt ${LOCALBASE}/bin/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>