pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wayland: dont use libepoll-shim on Linux
Module Name: pkgsrc-wip
Committed By: Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By: markd
Date: Thu Jan 25 23:51:46 2018 +1300
Changeset: 56525303726fe103d40c4031ca698ac041f25220
Modified Files:
wayland/Makefile
Log Message:
wayland: dont use libepoll-shim on Linux
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=56525303726fe103d40c4031ca698ac041f25220
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
wayland/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diffs:
diff --git a/wayland/Makefile b/wayland/Makefile
index 9cea171261..bc4ff15954 100644
--- a/wayland/Makefile
+++ b/wayland/Makefile
@@ -22,12 +22,18 @@ PKGCONFIG_OVERRIDE+= src/wayland-cursor.pc.in
PKGCONFIG_OVERRIDE+= src/wayland-scanner.pc.in
PKGCONFIG_OVERRIDE+= src/wayland-server.pc.in
-CFLAGS+= -I${BUILDLINK_PREFIX.libepoll-shim}/include/libepoll-shim
pre-configure:
cd ${WRKSRC} && autoreconf -fvi
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+CFLAGS+= -I${BUILDLINK_PREFIX.libepoll-shim}/include/libepoll-shim
.include "../../wip/libepoll-shim/buildlink3.mk"
+.else
+BUILDLINK_TRANSFORM+= rm:-lepoll-shim
+.endif
.include "../../devel/libffi/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index