aboutsummaryrefslogtreecommitdiff
path: root/emulators/pearpc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-07-01 08:04:54 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-07-01 08:04:54 +0000
commite46786ffad4d28b932b7f43fee9e2608ebf5e3c8 (patch)
tree2f8960e41b655991c472fbbf8795b2993720a9da /emulators/pearpc
parentfefe6bf4edd2901ff05f1b8ee6a851d6e5998e31 (diff)
downloadports-e46786ffad4d28b932b7f43fee9e2608ebf5e3c8.tar.gz
ports-e46786ffad4d28b932b7f43fee9e2608ebf5e3c8.zip
- Unbreak on 4.x
Reported by: bento via kris Pointy hat: mezz
Notes
Notes: svn path=/head/; revision=112648
Diffstat (limited to 'emulators/pearpc')
-rw-r--r--emulators/pearpc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile
index 09b64ba0e55c..bb4d5708e89d 100644
--- a/emulators/pearpc/Makefile
+++ b/emulators/pearpc/Makefile
@@ -62,6 +62,11 @@ pre-everything::
@${ECHO_MSG} ""
.endif
+post-patch:
+.if ${OSVERSION} < 500000
+ @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/src/system/posix/types.h
+.endif
+
post-configure:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/src/Makefile