summaryrefslogtreecommitdiff
path: root/devel/libepoll-shim/files/patch-Makefile
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-04-23 09:01:33 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-04-23 09:01:33 +0000
commitfc70424876c82c8082f2680eceb0fff7d28c90d8 (patch)
tree95ee79d731d1d1974c5a06bf68a9bebb69d0d087 /devel/libepoll-shim/files/patch-Makefile
parent- Update WWW (diff)
devel/libepoll-shim: Fix build with PREFIX != /usr/local
Reported by: jbeich
Notes
Notes: svn path=/head/; revision=499736
Diffstat (limited to 'devel/libepoll-shim/files/patch-Makefile')
-rw-r--r--devel/libepoll-shim/files/patch-Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libepoll-shim/files/patch-Makefile b/devel/libepoll-shim/files/patch-Makefile
new file mode 100644
index 000000000000..fe49881723c7
--- /dev/null
+++ b/devel/libepoll-shim/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- 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@,,' \
+ $> >$@
+