build updates for various x11 apps being updated.
This commit is contained in:
parent
80529807e9
commit
e60fe600c8
|
@ -1,11 +1,14 @@
|
|||
# $NetBSD: Makefile,v 1.3 2011/07/23 06:06:40 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2015/07/19 19:49:17 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
PROG= smproxy
|
||||
SRCS= smproxy.c save.c
|
||||
|
||||
CPPFLAGS+=-DHAVE_MKSTEMP
|
||||
CPPFLAGS+=-DHAVE_MKSTEMP -DHAVE_ASPRINTF
|
||||
|
||||
STRING!= ${PRINT_PACKAGE_STRING}
|
||||
CPPFLAGS+= -DPACKAGE_STRING=\"${STRING}\"
|
||||
|
||||
LDADD+= -lXmu -lXt -lSM -lICE -lXext -lX11
|
||||
DPADD+= ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2013/09/29 14:34:30 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2015/07/19 19:49:18 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -20,5 +20,7 @@ DPADD+= ${LIBXTST} ${LIBXI} ${LIBXRENDER} ${LIBXINERAMA} ${LIBXCOMPOSITE} \
|
|||
|
||||
COPTS.xdpyinfo.c+= -Wno-error # xf86vmstr.h
|
||||
|
||||
.include "../../xorg-pkg-ver.mk"
|
||||
|
||||
.include <bsd.x11.mk>
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2015/07/19 19:49:18 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -9,7 +9,9 @@ SRCS= xdriinfo.c
|
|||
LDADD+= -lGL -lXext -lX11 -lpthread
|
||||
DPADD+= ${LIBGL} ${LIBXEXT} ${LIBX11} ${LIBPTHREAD}
|
||||
|
||||
.PATH: ${X11SRCDIR.${PROG}}
|
||||
.PATH: ${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/man
|
||||
|
||||
.include "../../xorg-pkg-ver.mk"
|
||||
|
||||
.include <bsd.x11.mk>
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2015/06/27 17:03:30 matt Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2015/07/19 19:49:18 mrg Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
|
@ -25,5 +25,9 @@ CPPFLAGS+= -DANSI_SOURCE
|
|||
|
||||
CWARNFLAGS.clang+= -Wno-format
|
||||
|
||||
# Ugh. writes to const char *
|
||||
COPTS.format.c+= -Wno-error
|
||||
COPTS.lisp.c+= -Wno-error
|
||||
|
||||
.include <bsd.x11.mk>
|
||||
.include <bsd.lib.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2013/05/31 06:24:05 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2015/07/19 19:49:18 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -7,6 +7,7 @@ SRCS= xedit.c commands.c util.c ispell.c options.c hook.c lisp.c \
|
|||
tags.c hash.c
|
||||
|
||||
CPPFLAGS+= -I${X11SRCDIR.xedit}/lisp/re
|
||||
CPPFLAGS+= -DHAVE_GETPAGESIZE
|
||||
|
||||
APPDEFS= Xedit Xedit-color
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2013/05/31 06:47:07 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2015/07/19 19:49:18 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -10,5 +10,7 @@ DPADD+= ${LIBX11} ${LIBXRANDR}
|
|||
.PATH: ${X11SRCDIR.${PROG}}
|
||||
.PATH: ${X11SRCDIR.${PROG}}/man
|
||||
|
||||
.include "../../xorg-pkg-ver.mk"
|
||||
|
||||
.include <bsd.x11.mk>
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
# $NetBSD: xorg-pkg-ver.mk,v 1.1 2015/07/19 19:49:17 mrg Exp $
|
||||
|
||||
# when including this make sure PROG is set so that $X11SRCDIR.$PROG
|
||||
# is a valid setting.
|
||||
|
||||
.if exists(${X11SRCDIR.${PROG}}/configure)
|
||||
XORG_PKG_PACKAGE_VERSION!= \
|
||||
awk -F= '/^PACKAGE_VERSION=/ { \
|
||||
match($$2, "([0-9]+\\.)+[0-9]+"); \
|
||||
version = substr($$2, RSTART, RLENGTH); \
|
||||
print version; \
|
||||
exit 0; \
|
||||
}' ${X11SRCDIR.${PROG}}/configure
|
||||
.if !empty(XORG_PKG_PACKAGE_VERSION)
|
||||
CPPFLAGS+= -DPACKAGE_VERSION=\"${XORG_PKG_PACKAGE_VERSION:Q}\"
|
||||
.endif
|
||||
|
||||
XORG_PKG_PACKAGE_STRING!= \
|
||||
awk -F= '/^PACKAGE_STRING=/ { \
|
||||
match($$2, "[a-zA-Z-_]+[ ]+([0-9]+\\.)+[0-9]+"); \
|
||||
string = substr($$2, RSTART, RLENGTH); \
|
||||
print string; \
|
||||
exit 0; \
|
||||
}' ${X11SRCDIR.${PROG}}/configure
|
||||
.if !empty(XORG_PKG_PACKAGE_STRING)
|
||||
CPPFLAGS+= -DPACKAGE_STRING=\"${XORG_PKG_PACKAGE_STRING:Q}\"
|
||||
.endif
|
||||
|
||||
.endif
|
Loading…
Reference in New Issue