diff options
author | pav <pav@FreeBSD.org> | 2004-07-01 16:04:54 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-01 16:04:54 +0800 |
commit | e64138bf39d2520d55c1aed12bab94193660c841 (patch) | |
tree | 659e96a68df3756ba4ebcf70f1aa13258d8020ee /emulators | |
parent | 84293a167a9e9989efbeeb658753cc5711864dd9 (diff) | |
download | freebsd-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/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 |