freebsd-ports/x11-toolkits/viewklass/Makefile
Muhammad Moinur Rahman 16407e6f7a x11-toolkits/viewklass: Fix build with llvm16
- Pet portclippy

Sponsored by:	The FreeBSD Foundation
2023-07-24 16:46:02 +02:00

26 lines
615 B
Makefile

PORTNAME= viewklass
PORTVERSION= 0.7.2
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ViewKlass-${PORTVERSION}
DISTNAME= ViewKlass-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ Framework for Motif
WWW= http://viewklass.sourceforge.net/
LICENSE= LGPL20+
USES= imake:env motif
USE_CXXSTD= c++14
GNU_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} -e \
'/^CFLAGS=/s|-g|${CFLAGS}| ; \
/^CXXFLAGS=/s|-g|${CXXFLAGS}| ; \
s| $$(exec_prefix)| $$(DESTDIR)$$(exec_prefix)| ; \
s| $$(prefix)| $$(DESTDIR)$$(prefix)|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>