diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-01 08:04:54 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-01 08:04:54 +0000 |
commit | e46786ffad4d28b932b7f43fee9e2608ebf5e3c8 (patch) | |
tree | 2f8960e41b655991c472fbbf8795b2993720a9da /emulators/pearpc | |
parent | Fix package build. (diff) |
- 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/Makefile | 5 |
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 |