head	1.21;
access;
symbols
	pkgsrc-2013Q2:1.21.0.20
	pkgsrc-2013Q2-base:1.21
	pkgsrc-2012Q4:1.21.0.18
	pkgsrc-2012Q4-base:1.21
	pkgsrc-2011Q4:1.21.0.16
	pkgsrc-2011Q4-base:1.21
	pkgsrc-2011Q2:1.21.0.14
	pkgsrc-2011Q2-base:1.21
	pkgsrc-2009Q4:1.21.0.12
	pkgsrc-2009Q4-base:1.21
	pkgsrc-2008Q4:1.21.0.10
	pkgsrc-2008Q4-base:1.21
	pkgsrc-2008Q3:1.21.0.8
	pkgsrc-2008Q3-base:1.21
	cube-native-xorg:1.21.0.6
	cube-native-xorg-base:1.21
	pkgsrc-2008Q2:1.21.0.4
	pkgsrc-2008Q2-base:1.21
	pkgsrc-2008Q1:1.21.0.2
	pkgsrc-2008Q1-base:1.21
	pkgsrc-2007Q4:1.20.0.2
	pkgsrc-2007Q4-base:1.20
	pkgsrc-2007Q3:1.19.0.2
	pkgsrc-2007Q3-base:1.19
	pkgsrc-2007Q2:1.16.0.4
	pkgsrc-2007Q2-base:1.16
	pkgsrc-2007Q1:1.16.0.2
	pkgsrc-2007Q1-base:1.16
	pkgsrc-2006Q4:1.15.0.6
	pkgsrc-2006Q4-base:1.15
	pkgsrc-2006Q3:1.15.0.4
	pkgsrc-2006Q3-base:1.15
	pkgsrc-2006Q2:1.15.0.2
	pkgsrc-2006Q2-base:1.15
	pkgsrc-2006Q1:1.13.0.4
	pkgsrc-2006Q1-base:1.13
	pkgsrc-2005Q4:1.13.0.2
	pkgsrc-2005Q4-base:1.13
	pkgsrc-2005Q3:1.12.0.4
	pkgsrc-2005Q3-base:1.12
	pkgsrc-2005Q2:1.12.0.2
	pkgsrc-2005Q2-base:1.12
	pkgsrc-2005Q1:1.9.0.2
	pkgsrc-2005Q1-base:1.9
	pkgsrc-2004Q4:1.7.0.2
	pkgsrc-2004Q4-base:1.7
	pkgsrc-2004Q3:1.3.0.2
	pkgsrc-2004Q3-base:1.3
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.21
date	2008.03.25.13.45.38;	author wiz;	state dead;
branches;
next	1.20;

1.20
date	2007.11.06.23.30.15;	author rillig;	state Exp;
branches;
next	1.19;

1.19
date	2007.08.23.18.20.31;	author jlam;	state Exp;
branches;
next	1.18;

1.18
date	2007.07.29.08.55.39;	author jlam;	state Exp;
branches;
next	1.17;

1.17
date	2007.07.29.05.19.17;	author jlam;	state Exp;
branches;
next	1.16;

1.16
date	2007.01.23.16.54.59;	author joerg;	state Exp;
branches;
next	1.15;

1.15
date	2006.06.19.23.25.48;	author jlam;	state Exp;
branches
	1.15.6.1;
next	1.14;

1.14
date	2006.04.28.09.08.32;	author joerg;	state Exp;
branches;
next	1.13;

1.13
date	2005.12.12.14.43.24;	author joerg;	state Exp;
branches;
next	1.12;

1.12
date	2005.04.03.21.23.15;	author jdolecek;	state Exp;
branches;
next	1.11;

1.11
date	2005.04.02.20.15.41;	author jdolecek;	state Exp;
branches;
next	1.10;

1.10
date	2005.04.02.20.09.29;	author jdolecek;	state Exp;
branches;
next	1.9;

1.9
date	2005.02.09.20.25.13;	author tv;	state Exp;
branches;
next	1.8;

1.8
date	2005.01.29.09.11.36;	author jdolecek;	state Exp;
branches;
next	1.7;

1.7
date	2004.11.20.12.44.22;	author rh;	state Exp;
branches;
next	1.6;

1.6
date	2004.11.10.09.04.08;	author markd;	state Exp;
branches;
next	1.5;

1.5
date	2004.11.08.12.41.08;	author wiz;	state Exp;
branches;
next	1.4;

1.4
date	2004.10.07.02.01.37;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2004.08.07.13.05.03;	author jdolecek;	state Exp;
branches;
next	1.2;

1.2
date	2004.07.13.10.40.59;	author tron;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.13.10.31.15;	author tron;	state Exp;
branches
	1.1.1.1;
next	;

1.15.6.1
date	2007.01.28.17.33.39;	author ghen;	state Exp;
branches;
next	;

1.1.1.1
date	2004.07.13.10.31.15;	author tron;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Remove suse-9.1 emulation packages.
They are long outdated and not maintained upstream.

Update infrastructure for their removal.

Removal was announced on pkgsrc-users on March 13.
@
text
@# $NetBSD: Makefile.common,v 1.20 2007/11/06 23:30:15 rillig Exp $

SUSE_PKG=		yes
SUSE_VERSION=		9.1
EMUL_REQD=		suse>=${SUSE_VERSION}

# The SuSE 10.x Linux packages are only usable on the following platforms.
.if defined(SUSE_COMPAT32)
EMUL_PLATFORMS?=	linux-i386
ONLY_FOR_PLATFORM+=	NetBSD-3.99*-x86_64
ONLY_FOR_PLATFORM+=	NetBSD-[4-9]*-x86_64
.else
EMUL_PLATFORMS?=	linux-i386 linux-x86_64
ONLY_FOR_PLATFORM+=	DragonFly-*-i386
ONLY_FOR_PLATFORM+=	FreeBSD-*-i386
ONLY_FOR_PLATFORM+=	NetBSD-[2-9]*-i386
ONLY_FOR_PLATFORM+=	NetBSD-3.99*-x86_64
ONLY_FOR_PLATFORM+=	NetBSD-[4-9]*-x86_64
.endif

.include "../../mk/bsd.prefs.mk"

# _SUSE_ARCH.* is a table of ${EMUL_ARCH} to SuSE architectures.
_SUSE_ARCH.${EMUL_ARCH}=	${EMUL_ARCH}
_SUSE_ARCH.i386=		i586
_SUSE_ARCH=			${_SUSE_ARCH.${EMUL_ARCH}}
SUSE_ARCH=			${_SUSE_ARCH}

_SUSE_FTP_SUBDIR=	suse/discontinued/${MACHINE_ARCH}/9.1/suse/${SUSE_ARCH}/
_SUSE_FTP_SUBDIR_UPD=	suse/discontinued/${MACHINE_ARCH}/update/9.1/rpm/${SUSE_ARCH}/

MASTER_SITE_SUSE_${SUSE_VERSION}=	\
	ftp://ftp.suse.com/pub/${_SUSE_FTP_SUBDIR} \
	ftp://ftp.suse.com/pub/${_SUSE_FTP_SUBDIR_UPD} \
	ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/${_SUSE_FTP_SUBDIR} \
	ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/${_SUSE_FTP_SUBDIR_UPD} \
	ftp://gd.tuwien.ac.at/linux/suse.com/${_SUSE_FTP_SUBDIR} \
	ftp://gd.tuwien.ac.at/linux/suse.com/${_SUSE_FTP_SUBDIR_UPD} \
	ftp://mirror.mcs.anl.gov/pub/${_SUSE_FTP_SUBDIR} \
	ftp://mirror.mcs.anl.gov/pub/${_SUSE_FTP_SUBDIR_UPD} \
	ftp://ftp.sh.cvut.cz/MIRRORS/${_SUSE_FTP_SUBDIR:C/^suse/suse\/pub/} \
	ftp://ftp.sh.cvut.cz/MIRRORS/${_SUSE_FTP_SUBDIR_UPD:C/^suse/suse\/pub/}

MASTER_SITES?=		${MASTER_SITE_SUSE_${SUSE_VERSION}}
DIST_SUBDIR?=		suse${SUSE_VERSION:S/.//}/${SUSE_ARCH}

HOMEPAGE?=		http://www.suse.com/

WRKSRC?=		${WRKDIR}
BUILD_DIRS?=		# empty
MANCOMPRESSED?=		yes

EMUL_PKG_FMT?=		rpm
RPM2PKG_PREFIX?=	${PREFIX}
RPM2PKG_SUBPREFIX?=	${EMULSUBDIR}
RPM2PKG_STAGE?=		do-install

SUSE_PKGSRCDIR=		${.CURDIR}/../${.CURDIR:T:S/_32_/_/}
FILESDIR=		${SUSE_PKGSRCDIR}/files
PATCHDIR=		${SUSE_PKGSRCDIR}/patches
PKGDIR=			${SUSE_PKGSRCDIR}

.if defined(SUSE_COMPAT32)
PKGNAME:=		${DISTNAME:S/^suse_/suse32_/}
COMMENT:=		${COMMENT:S/Linux/Linux 32-bit/}
LINUX_BASE=		linux32
.else
LINUX_BASE=		linux
.endif
PLIST_SUBST+=		LINUX_BASE=${LINUX_BASE:Q}
FILES_SUBST+=		LINUX_BASE=${LINUX_BASE:Q}

LINUX_LIBSUBDIR?=	lib
PLIST_SUBST+=		LINUX_LIBSUBDIR=${LINUX_LIBSUBDIR:Q}
FILES_SUBST+=		LINUX_LIBSUBDIR=${LINUX_LIBSUBDIR:Q}

# Include an "override" SuSE-specific and architecture-specific
# Makefile fragment if it exists.
#
.sinclude "${SUSE_PKGSRCDIR}/suse.${EMUL_ARCH}.mk"
@


1.20
log
@Packages in two different directories should always generate different
PKGNAMEs. The packages in suse91_* and suse91_32_* didn't do that.

One effect of this was that the pbulk framework didn't record the
packages from both directories. It only took the first one, which
happened to be the suse91_32_* (which aren't available for i386). The
others were disarded, so effectively all Linux binary packages were
skipped.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.19 2007/08/23 18:20:31 jlam Exp $
@


1.19
log
@Allow a nicer syntax for expressing needing at least a certain version
of an emulated operating system.  Instead of proliferating things like
SUSE_VERSION_REQD, NETBSD_VERSION_REQD, SOLARIS_VERSION_REQD, etc., a
package can say:

	EMUL_REQD=	suse>=9.1 netbsd>=2.0 solaris>=10

all in one, succinct line.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.18 2007/07/29 08:55:39 jlam Exp $
d63 1
a63 1
.if (${EMUL_ARCH} == "i386") && (${MACHINE_ARCH} == "x86_64")
@


1.18
log
@Add 32-bit versions of SuSE Linux 9.1 and 10.0 for use by NetBSD/x86_64
with COMPAT_LINUX32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.17 2007/07/29 05:19:17 jlam Exp $
d5 1
a5 1
SUSE_VERSION_REQD=	${SUSE_VERSION}
@


1.17
log
@* Add new emulator framework in pkgsrc/mk/emulator that handles all
  binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
      Packages only need to state exactly which emulations they support,
      and the framework handles any i386-on-x86_64 or sparc-on-sparc64
      uses.

    * Remove "USE_NATIVE_LINUX" from pkgsrc.  The framework will
      automatically detect when the package is installing on Linux.

  Specific changes to packages include:

    * Bump the PKGREVISIONs for all of the suse100* and suse91* packages
      due to changes in the +INSTALL/+DEINSTALL scripts used in all
      of the packages.

    * Remove pkgsrc/emulators/suse_linux, which is unused by any
      packages.

    * cad/lc -- remove custom code to create the distinfo file for
	all supported platforms; just use "emul-fetch" and "emul-distinfo"
	instead.

    * lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
	instead of ${PREFIX}/lib so that compiled programs will find
	the shared libraries.

    * mail/thunderbird-bin-nightly -- update to latest binary
	distributions for supported platforms.

    * multimedia/ns-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

    * security/uvscan -- set LD_LIBRARY_PATH explicitly so that
	it's not necessary to install library symlinks into
	${EMULDIR}/usr/local/lib.

    * www/firefox-bin-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.
@
text
@d1 1
a1 1
# $NetBSD$
d7 6
a13 4

.include "../../mk/bsd.prefs.mk"

# The SuSE 10.x Linux packages are only usable on the following platforms.
d19 3
d58 5
d80 1
a80 1
.sinclude "suse.${EMUL_ARCH}.mk"
@


1.16
log
@SuSE 9.1 is discontinued, directory layout changed to reflect that.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.15 2006/06/19 23:25:48 jlam Exp $
d3 35
a37 2
.include "../../emulators/suse91_linux/vars.mk"
.include "../../emulators/suse91_linux/arch.mk"
d39 2
a40 17
ONLY_FOR_PLATFORM+=	NetBSD-[2-9]*-i386 NetBSD-3.99*-x86_64 \
			NetBSD-[4-9]*-x86_64 FreeBSD-*-i386 \
			DragonFly-*-i386

_SUSE_FTP_SUBDIR=	suse/discontinued/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/
_SUSE_FTP_SUBDIR_UPD=	suse/discontinued/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/

MASTER_SITE_SUSE91?=	ftp://ftp.suse.com/pub/${_SUSE_FTP_SUBDIR} \
			ftp://ftp.suse.com/pub/${_SUSE_FTP_SUBDIR_UPD} \
			ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/${_SUSE_FTP_SUBDIR} \
			ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/${_SUSE_FTP_SUBDIR_UPD} \
			ftp://gd.tuwien.ac.at/linux/suse.com/${_SUSE_FTP_SUBDIR} \
			ftp://gd.tuwien.ac.at/linux/suse.com/${_SUSE_FTP_SUBDIR_UPD} \
			ftp://mirror.mcs.anl.gov/pub/${_SUSE_FTP_SUBDIR} \
			ftp://mirror.mcs.anl.gov/pub/${_SUSE_FTP_SUBDIR_UPD} \
			ftp://ftp.sh.cvut.cz/MIRRORS/${_SUSE_FTP_SUBDIR:C/^suse/suse\/pub/} \
			ftp://ftp.sh.cvut.cz/MIRRORS/${_SUSE_FTP_SUBDIR_UPD:C/^suse/suse\/pub/}
d42 1
a42 1
DIST_SUBDIR?=		suse${SUSE_VERSION:S/.//}/${SUSE_ARCH}
d45 1
d48 9
a56 8
EMULSUBDIR=		emul/linux
EMULDIR=		${PREFIX}/${EMULSUBDIR}

# Set location of OPSYS-specific emulation directory
.if ${OPSYS} == "NetBSD"
OPSYS_EMULDIR=		/${EMULSUBDIR}
.elif (${OPSYS} == "FreeBSD") || (${OPSYS} == "DragonFly")
OPSYS_EMULDIR=		/compat/${EMULSUBDIR:T}
d58 1
a58 1
OPSYS_EMULDIR=		/${EMULSUBDIR}
d60 2
a61 1
FILES_SUBST+=		OPSYS_EMULDIR=${OPSYS_EMULDIR:Q}
d63 8
a70 46
RPM2PKG=		${PREFIX}/sbin/rpm2pkg
BUILD_DEPENDS+=		rpm2pkg>=2.1:../../pkgtools/rpm2pkg

BUILD_DEFS+=		RPMFILES
.if defined(RPMIGNOREPATH)
BUILD_DEFS+=		RPMIGNOREPATH
.endif

# The SuSE Linux packages have circular dependencies.
LDD?=			${TRUE}

RPM2PKGSTRIP?=		1
RPM2PKGARGS?=		-d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR}
.if empty(RPM2PKGSTRIP:M0)
RPM2PKGARGS+=		-s ${RPM2PKGSTRIP}
.endif
.for TEMP in ${RPMIGNOREPATH}
RPM2PKGARGS+=		-i ${TEMP}
.endfor
.for TEMP in ${RPMFILES}
RPM2PKGARGS+=		${DISTDIR}/${DIST_SUBDIR}/${TEMP}
.endfor

.if !target(do-install)
do-install:
	@@if [ -f ${PKGDIR}/PLIST ]; then \
	  ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
	else \
	  ${RM} -f ${PLIST_SRC}; \
	  ${CP} ${PKGSRCDIR}/emulators/suse_linux/PLIST_dynamic ${PLIST_SRC} ; \
	fi
	@@if [ -f ${PKGDIR}/PLIST_rpmfix.${MACHINE_ARCH} ]; then \
	    ${SED} -e 's,^/,${EMULSUBDIR}/,' ${PKGDIR}/PLIST_rpmfix.${MACHINE_ARCH} >> ${PLIST_SRC}; \
	fi
	${RPM2PKG} ${RPM2PKGARGS}
	@@if ${GREP} -q 'lib.*\.so' ${PLIST_SRC}; then \
	  ${ECHO_MSG} "===> [Automatic Linux shared object handling]"; \
	  ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}; \
	  ${MV} -f ${PLIST_SRC} ${PLIST_SRC}.old; \
	  ${GREP} -v '^@@dirrm' ${PLIST_SRC}.old >${PLIST_SRC} || ${TRUE}; \
	  ${ECHO} "@@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}; \
	  ${ECHO} "@@unexec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR} 2>/dev/null" >>${PLIST_SRC}; \
	  ${GREP} '^@@dirrm' ${PLIST_SRC}.old >>${PLIST_SRC} || ${TRUE}; \
	  ${RM} -f ${PLIST_SRC}.old; \
	fi
.endif
@


1.15
log
@Cleanup fallout from {DE,}INSTALL_SRC removal: rewrite the INSTALL
script to be of the format expected by the pkginstall framework.
Also, split out the important text from the INSTALL script and put it
into a MESSAGE file.

Also, remove the unused show-shlib-type target.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.14 2006/04/28 09:08:32 joerg Exp $
d10 2
a11 2
_SUSE_FTP_SUBDIR=	suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/
_SUSE_FTP_SUBDIR_UPD=	suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/
@


1.15.6.1
log
@Pullup ticket 2002 - requested by joerg
download fix for suse91_*

- pkgsrc/emulators/suse91_linux/Makefile.common		1.16

   Module Name:	pkgsrc
   Committed By:	joerg
   Date:		Tue Jan 23 16:54:59 UTC 2007

   Modified Files:
	   pkgsrc/emulators/suse91_linux: Makefile.common

   Log Message:
   SuSE 9.1 is discontinued, directory layout changed to reflect that.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.16 2007/01/23 16:54:59 joerg Exp $
d10 2
a11 2
_SUSE_FTP_SUBDIR=	suse/discontinued/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/
_SUSE_FTP_SUBDIR_UPD=	suse/discontinued/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/
@


1.14
log
@Add a mechanism to extend the rpm file list of suse9.1 packages.
Use it to include the shared library symlinks in suse91_x11,
they have been created and removed by ldconfig before. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.13 2005/12/12 14:43:24 joerg Exp $
d32 10
a87 3

show-shlib-type:
	@@${ECHO} linux-${MACHINE_ARCH}
@


1.13
log
@First step at reworking Linux binary packages.

Change most pkgs to depend on either
emulators/suse_linux/Makefile.application (normal pkgs) or
Makefile.common (suse91 and suse themselves) to filter out Operating
Systems without Linux ABI support. Use CPU masks to limit the pkg to
supported platforms.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.12 2005/04/03 21:23:15 jdolecek Exp $
d63 3
@


1.12
log
@put definition of SUSE_VERSION and SUSE_DIR_PREFIX into separate file
vars.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.11 2005/04/02 20:15:41 jdolecek Exp $
d6 4
@


1.11
log
@Add .cz mirror
@
text
@d1 1
a1 3
# $NetBSD: Makefile.common,v 1.10 2005/04/02 20:09:29 jdolecek Exp $

SUSE_VERSION=		9.1
d3 1
@


1.10
log
@put identical URI parts in MASTER_SITE_SUSE91 into variables, so it's
easier to add mirrors
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.9 2005/02/09 20:25:13 tv Exp $
d17 3
a19 1
			ftp://mirror.mcs.anl.gov/pub/${_SUSE_FTP_SUBDIR_UPD}
@


1.9
log
@Add one site west of the Atlantic Ocean.

Interleave sites so that something in the secondary RPM subdir won't go
scan all of the primary subdirs before falling through to the correct place.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.8 2005/01/29 09:11:36 jdolecek Exp $
d7 11
a17 8
MASTER_SITE_SUSE91?=	ftp://ftp.suse.com/pub/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
			ftp://ftp.suse.com/pub/suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/ \
			ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
			ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/ \
			ftp://gd.tuwien.ac.at/linux/suse.com/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
			ftp://gd.tuwien.ac.at/linux/suse.com/suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/ \
			ftp://mirror.mcs.anl.gov/pub/ftp.suse.com/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/ \
			ftp://mirror.mcs.anl.gov/pub/ftp.suse.com/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/
@


1.8
log
@Remove the warning message - SuSE 9.1 packages work fine on NetBSD 2.0+
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.7 2004/11/20 12:44:22 rh Exp $
d8 1
d10 1
d12 3
a14 3
			ftp://ftp.suse.com/pub/suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/ \
			ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/ \
			ftp://gd.tuwien.ac.at/linux/suse.com/suse/${SUSE_ARCH_DIR}/update/9.1/rpm/${SUSE_ARCH}/
@


1.7
log
@Let packages override RPM2PKGARGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.6 2004/11/10 09:04:08 markd Exp $
a44 10
.if ${OPSYS} == "NetBSD"
pre-fetch:
	@@${ECHO} "======================================================================"
	@@${ECHO} ""
	@@${ECHO} "Warning:"
	@@${ECHO} "NetBSD's Linux emulation doesn't work stable with this package (yet)."
	@@${ECHO} ""
	@@${ECHO} "======================================================================"
.endif

@


1.6
log
@Allow stripping 0 leading directories from path names in rpm's.  rpm2pkg
complains about "-s 0" so don't pass the argument at all in that case.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.5 2004/11/08 12:41:08 wiz Exp $
d34 1
a34 1
RPM2PKGARGS=		-d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR}
@


1.5
log
@Ignore return value from grep; somehow this broke suse91_compat installation
on 2.0_BETA/i386 for me.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.4 2004/10/07 02:01:37 jlam Exp $
d34 4
a37 2
RPM2PKGARGS=		-d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR} \
			-s ${RPM2PKGSTRIP}
@


1.4
log
@* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
  as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.3 2004/08/07 13:05:03 jdolecek Exp $
d66 1
a66 1
	  ${GREP} -v '^@@dirrm' ${PLIST_SRC}.old >${PLIST_SRC}; \
d69 1
a69 1
	  ${GREP} '^@@dirrm' ${PLIST_SRC}.old >>${PLIST_SRC}; \
@


1.3
log
@append the RPM update URLs to MASTER_SITE_SUSE91, for updated versions
of SuSE RPMs
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.2 2004/07/13 10:40:59 tron Exp $
d59 1
a59 1
	  ${CP} ${_PKGSRCDIR}/emulators/suse_linux/PLIST_dynamic ${PLIST_SRC} ; \
@


1.2
log
@Print out a warning about the state of these packages under NetBSD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.1.1.1 2004/07/13 10:31:15 tron Exp $
d9 4
a12 1
			ftp://gd.tuwien.ac.at/linux/suse.com/suse/${SUSE_ARCH_DIR}/9.1/suse/${SUSE_ARCH}/
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.18 2004/05/27 10:28:54 tron Exp $
d40 10
@


1.1.1.1
log
@Initial import of SuSE Linux 9.1 based packages for Linux emulation.

Warning:
NetBSD's Linux emulation does *not* work stable with these packages.
@
text
@@
