aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
Diffstat (limited to 'palm')
-rw-r--r--palm/makeztxt/Makefile10
-rw-r--r--palm/uppc-kmod/Makefile8
2 files changed, 3 insertions, 15 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>
diff --git a/palm/uppc-kmod/Makefile b/palm/uppc-kmod/Makefile
index 86d796d0d6de..400d5d0ab41e 100644
--- a/palm/uppc-kmod/Makefile
+++ b/palm/uppc-kmod/Makefile
@@ -22,12 +22,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
IGNORE= Requires kernel source (/usr/src/sys) to build
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= "Does not build on FreeBSD 4.x"
-.endif
-
post-build:
@${REINPLACE_CMD} -e 's|%%INITIAL_INSTALLDIR%%|${PREFIX}/lib|g' ${BUILD_WRKSRC}/uppcsetup
@${REINPLACE_CMD} -e 's|%%INITIAL_MODDIR%%|${KMODDIR}|g' ${WRKSRC}/uppcsetup
@@ -46,4 +40,4 @@ post-install:
@${ECHO_CMD} " * and set up a connection. *"
@${ECHO_CMD} " ****************************************************************"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>