20ae9afccc
xview is abusing FILE, by making its own in order to coerce vfscanf to give it stuff it shouldn't. This is absolutely awful code. The clean way would be to duplicate the vfscanf code there. But hey, C doesn't have stringstreams, so it must suffer. Fix independently reinvented, looks a lot like NetBSD's.
23 lines
509 B
Makefile
23 lines
509 B
Makefile
# $OpenBSD: Makefile,v 1.16 2005/04/18 11:48:20 espie Exp $
|
|
|
|
COMMENT= "OpenLook Toolkit libs, includes, and man pages"
|
|
|
|
PKGNAME= xview-lib-${XVIEW_VERSION}p1
|
|
EXTRACT_ONLY=
|
|
CATEGORIES= x11
|
|
|
|
BUILD_DEPENDS= ::x11/xview/config ::x11/xview/config:build
|
|
|
|
post-patch:
|
|
ln -s ${WRKDIR}/x11/xview/config/${DISTNAME} ${WRKDIST}
|
|
|
|
CONFIGURE_STYLE=imake
|
|
MAKE_ENV= IMAKEINCLUDE=-I${LOCALBASE}/lib/X11/config
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-install:
|
|
mv ${PREFIX}/man/cat1/xview.0 ${PREFIX}/man/cat7/xview.0
|
|
|
|
.include <bsd.port.mk>
|