Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144301939
D11551.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11551.diff
View Options
Index: head/devel/libepoll-shim/Makefile
===================================================================
--- head/devel/libepoll-shim/Makefile
+++ head/devel/libepoll-shim/Makefile
@@ -10,8 +10,6 @@
LICENSE= MIT
-BROKEN_powerpc64= fails to compile: cc1: error: unrecognized command line option -Wno-missing-variable-declarations
-
USE_GITHUB= yes
GH_ACCOUNT= FreeBSDDesktop
GH_PROJECT= epoll-shim
@@ -19,14 +17,18 @@
USE_LDCONFIG= yes
-USES= uidfix
-MAKE_ARGS= LIBDIR=${PREFIX}/lib INCLUDEDIR=${PREFIX}/include
+USES= compiler uidfix
+MAKE_ARGS= LIBDIR=${PREFIX}/lib INCSDIR=${PREFIX}/include/libepoll-shim/sys
+.include <bsd.port.pre.mk>
+
post-patch:
- # -Weverything is not recognized by GCC
- @${REINPLACE_CMD} -e 's|Weverything|Wall|' ${WRKSRC}/Makefile
+.if "${CHOSEN_COMPILER_TYPE}" == "gcc"
+ @${REINPLACE_CMD} -e 's|Wno-missing-variable-declarations|Wno-missing-declarations|' \
+ -e 's|-Wno-thread-safety-analysis||' -e 's|Weverything|Wall|' ${WRKSRC}/Makefile
+.endif
pre-install:
@${MKDIR} ${STAGEDIR}/${PREFIX}/include/libepoll-shim/sys
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 5:54 PM (10 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28480758
Default Alt Text
D11551.diff (1 KB)
Attached To
Mode
D11551: Unbreak libepoll-shim on PPC or when PREFIX != /usr/local
Attached
Detach File
Event Timeline
Log In to Comment