pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/suse_linux Add support for PLIST_rpmfix* as ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f68ceea44415
branches:  trunk
changeset: 514915:f68ceea44415
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jun 20 20:36:38 2006 +0000

description:
Add support for PLIST_rpmfix* as the other SuSE packages have.

diffstat:

 emulators/suse_linux/Makefile.common |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d5bfedb90753 -r f68ceea44415 emulators/suse_linux/Makefile.common
--- a/emulators/suse_linux/Makefile.common      Tue Jun 20 20:34:57 2006 +0000
+++ b/emulators/suse_linux/Makefile.common      Tue Jun 20 20:36:38 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.23 2006/06/19 23:27:34 jlam Exp $
+# $NetBSD: Makefile.common,v 1.24 2006/06/20 20:36:38 joerg Exp $
 
 .include "../../emulators/suse_linux/vars.mk"
 .include "../../emulators/suse_linux/arch.mk"
@@ -61,6 +61,9 @@
          ${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]"; \



Home | Main Index | Thread Index | Old Index