misc/hotkeys: Fix build with llvm16
- Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
3f16fbd446
commit
54fb1ff132
1 changed files with 12 additions and 4 deletions
|
@ -14,14 +14,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
|
||||
LIB_DEPENDS= libxml2.so:textproc/libxml2
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
USES= bdb gmake xorg
|
||||
USE_XORG= x11 xft xkbfile xmu
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-db3-inc=${BDB_INCLUDE_DIR} \
|
||||
--with-db3-lib=${BDB_LIB_DIR} \
|
||||
--with-db-name=${BDB_LIB_NAME}
|
||||
|
||||
USES= bdb gmake xorg
|
||||
USE_XORG= x11 xft xkbfile xmu
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
OPTIONS_DEFINE= OSD
|
||||
OPTIONS_DEFAULT= OSD
|
||||
|
@ -29,6 +30,12 @@ OPTIONS_DEFAULT= OSD
|
|||
OSD_LIB_DEPENDS= libxosd.so:misc/xosd
|
||||
OSD_CONFIGURE_WITH= xosd
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} ${PATCHDIR}/error.h ${WRKSRC}/src
|
||||
@${CP} ${PATCHDIR}/eliteduo.def ${WRKSRC}/def
|
||||
|
@ -37,6 +44,7 @@ post-extract:
|
|||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^install-exec-am/s/install-sysconfDATA//' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} -e 's,-lXinerama,-lXinerama `pkgconf --libs pangoxft`,g' ${WRKSRC}/src/Makefile
|
||||
|
||||
|
|
Loading…
Reference in a new issue