aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-01 16:04:54 +0800
committerpav <pav@FreeBSD.org>2004-07-01 16:04:54 +0800
commite64138bf39d2520d55c1aed12bab94193660c841 (patch)
tree659e96a68df3756ba4ebcf70f1aa13258d8020ee /emulators
parent84293a167a9e9989efbeeb658753cc5711864dd9 (diff)
downloadfreebsd-ports-gnome-e64138bf39d2520d55c1aed12bab94193660c841.tar.gz
freebsd-ports-gnome-e64138bf39d2520d55c1aed12bab94193660c841.tar.zst
freebsd-ports-gnome-e64138bf39d2520d55c1aed12bab94193660c841.zip
- Unbreak on 4.x
Reported by: bento via kris Pointy hat: mezz
Diffstat (limited to 'emulators')
-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