aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-12-11 21:48:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-12-11 21:48:53 +0000
commit2524b4b442c015af239e05dcc784fb55e190a219 (patch)
treecd74f08af634aa708673c17b5ee3b7b0edc77d5f /palm
parentf664bfdc8de0cf44a88e93e0283f4cf5c500864c (diff)
downloadports-2524b4b442c015af239e05dcc784fb55e190a219.tar.gz
ports-2524b4b442c015af239e05dcc784fb55e190a219.zip
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/uppc-kmod/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/palm/uppc-kmod/Makefile b/palm/uppc-kmod/Makefile
index 55e07c55302c..1e3c2de973d7 100644
--- a/palm/uppc-kmod/Makefile
+++ b/palm/uppc-kmod/Makefile
@@ -22,6 +22,12 @@ USE_REINPLACE= yes
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
@@ -37,4 +43,4 @@ post-install:
@${ECHO_CMD} " * and set up a connection. *"
@${ECHO_CMD} " ****************************************************************"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>