diff options
-rw-r--r-- | devel/libepoll-shim/Makefile | 6 | ||||
-rw-r--r-- | devel/libepoll-shim/files/patch-Makefile | 11 |
2 files changed, 2 insertions, 15 deletions
diff --git a/devel/libepoll-shim/Makefile b/devel/libepoll-shim/Makefile index 2f960a5e2ef8..d93c08012b18 100644 --- a/devel/libepoll-shim/Makefile +++ b/devel/libepoll-shim/Makefile @@ -18,14 +18,12 @@ GH_TAGNAME= 1d1135384395dbf38eea00680ca28ead04f8dce2 USE_LDCONFIG= yes USES= compiler uidfix -MAKE_ARGS= INCSDIR=${PREFIX}/include/libepoll-shim/sys \ - LIBDATADIR=${PREFIX}/libdata \ - LIBDIR=${PREFIX}/lib \ - WITHOUT_PROFILE=yes +MAKE_ARGS= WITHOUT_PROFILE=yes .include <bsd.port.pre.mk> post-patch: + @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile .if "${CHOSEN_COMPILER_TYPE}" == "gcc" @${REINPLACE_CMD} -e 's|Wno-missing-variable-declarations|Wno-missing-declarations|' \ -e 's|-Wno-thread-safety-analysis||' ${WRKSRC}/Makefile diff --git a/devel/libepoll-shim/files/patch-Makefile b/devel/libepoll-shim/files/patch-Makefile deleted file mode 100644 index fe49881723c7..000000000000 --- a/devel/libepoll-shim/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig 2019-04-23 08:57:50 UTC -+++ Makefile -@@ -15,7 +15,7 @@ CFLAGS+= -I${.CURDIR}/include -pthread -Wall -Wextra - - LDFLAGS+= -pthread -lrt - - src/epoll-shim.pc: src/epoll-shim.pc.in -- sed -e 's,@CMAKE_INSTALL_PREFIX@,/usr/local,' \ -+ sed -e 's,@CMAKE_INSTALL_PREFIX@,${PREFIX},' \ - -e 's,@PROJECT_VERSION@,,' \ - $> >$@ - |