blob: b75ad964c8844ace67200ec7d6034401624885fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.18 2006/05/22 22:22:03 jlam Exp $
#
DISTNAME= compat14-${MACHINE32_ARCH}-${VERSION}
PKGNAME= netbsd32_compat14-${VERSION}
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/Releases/formal-1.4/index.html
COMMENT= 32-bit shared libraries for NetBSD 1.4 (and earlier) compatibility
VERSION= 1.4.3.1
PKGREVISION= 1
.if ${MACHINE_ARCH} == "sparc64"
MACHINE32_ARCH= sparc
DEPENDS+= netbsd32_compat15>=1.0:../../emulators/netbsd32_compat15
.elif ${MACHINE_ARCH} == "x86_64"
MACHINE32_ARCH= i386
DEPENDS+= netbsd32_compat16>=1.0:../../emulators/netbsd32_compat16
.else
MACHINE32_ARCH= ${MACHINE_ARCH}
.endif
ONLY_FOR_PLATFORM= NetBSD-*-sparc64
ONLY_FOR_PLATFORM+= NetBSD-[2-9]*-x86_64
NO_MTREE= yes
NO_BUILD= yes
CHECK_SHLIBS_SUPPORTED= no
FILES_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q}
FILES_SUBST+= COMPAT_XLIBDIR=${COMPAT_XLIBDIR:Q}
FILES_SUBST+= MACHINE_ARCH=${MACHINE_ARCH:Q}
FILES_SUBST+= OBJECT_FMT=${OBJECT_FMT:Q}
FILES_SUBST+= LDCONFIG=${LDCONFIG:Q}
.include "../../mk/bsd.prefs.mk"
EMULSUBDIR= emul/aout
COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib
COMPAT_XLIBDIR= ${EMULSUBDIR}/usr/X11R6/lib
PLIST_SUBST+= COMPAT_LIBDIR=${COMPAT_LIBDIR:Q} COMPAT_XLIBDIR=${COMPAT_XLIBDIR:Q}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_LIBDIR}
${INSTALL_DATA} ${WRKDIR}/lib/lib*.so* ${PREFIX}/${COMPAT_LIBDIR}
if [ -d ${WRKDIR}/X11R6/lib ]; then \
${INSTALL_DATA_DIR} ${PREFIX}/${COMPAT_XLIBDIR}; \
${INSTALL_DATA} ${WRKDIR}/X11R6/lib/lib*.so* ${PREFIX}/${COMPAT_XLIBDIR}; \
fi
.include "../../mk/bsd.pkg.mk"
|