exposes howmany(). This is generally a good thing, but as a result libxview fails to find it, so it turns up as a missing external function instead. Due to the wonders of ELF libs, combined with help from imake, this results in a broken libxview that nothing else can successfully link with. So, patch it up. PKGREVISION -> 9.
30 lines
777 B
Makefile
30 lines
777 B
Makefile
# $NetBSD: Makefile,v 1.38 2011/09/29 07:47:56 dholland Exp $
|
|
|
|
DISTNAME= xview3.2p1-X11R6
|
|
PKGNAME= xview-lib-3.2.1
|
|
PKGREVISION= 9
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= OpenLook Toolkit libs, includes, and man pages
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
DEPENDS+= xview-config>=3.2.1nb6:../../x11/xview-config
|
|
|
|
LICENSE= sun-openlook-license
|
|
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
|
|
# builds, but binaries in../xview-clients all crash
|
|
NOT_FOR_PLATFORM= *-*-alpha
|
|
|
|
USE_IMAKE= yes
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/lib && ${LN} -fs libolgx.so.3.2 libolgx.so.3 && \
|
|
${LN} -fs libxview.so.3.2 libxview.so.3
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|