diff options
author | tron <tron@pkgsrc.org> | 1999-09-20 00:51:41 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-09-20 00:51:41 +0000 |
commit | 41c6e8b1dd74afc90da31367daf405b6ce21e29f (patch) | |
tree | 2042887c6afd4d04e568ac2b766be68430f1047d /emulators/suse_linux | |
parent | 0493ff558091d589a8263d6fc3d82a7f6a32d333 (diff) | |
download | pkgsrc-41c6e8b1dd74afc90da31367daf405b6ce21e29f.tar.gz |
Assign "DIST_SUBDIR", "MIRROR_DISTFILE", "WRKSRC" and "MANCOMPRESSED" with
"?=" so that they can be overwritten by a package.
Diffstat (limited to 'emulators/suse_linux')
-rw-r--r-- | emulators/suse_linux/suse.mk | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/emulators/suse_linux/suse.mk b/emulators/suse_linux/suse.mk index f06a4d12ae2..ddc68ddfe12 100644 --- a/emulators/suse_linux/suse.mk +++ b/emulators/suse_linux/suse.mk @@ -1,17 +1,16 @@ -# $NetBSD: suse.mk,v 1.1 1999/09/19 23:58:42 tron Exp $ +# $NetBSD: suse.mk,v 1.2 1999/09/20 00:51:41 tron Exp $ MASTER_SITE_SUSE= ftp://ftp.suse.com/pub/suse/i386/6.1/suse/ \ ftp://ftp.cs.unm.edu/mirrors/SuSE61/suse/ -DIST_SUBDIR= suse -MIRROR_DISTFILE= no +DIST_SUBDIR?= suse +MIRROR_DISTFILE?= no -WRKSRC= ${WRKDIR} -MANCOMPRESSED= yes +WRKSRC?= ${WRKDIR} +MANCOMPRESSED?= yes EMULSUBDIR= emul/linux EMULDIR= ${PREFIX}/${EMULSUBDIR} -EMULLDCONFIG= RPM2PKG= ${PREFIX}/sbin/rpm2pkg @@ -25,7 +24,11 @@ RPM2PKGARGS+= ${DISTDIR}/${DIST_SUBDIR}/${TEMP} .if !target(do-install) do-install: - @${RM} -f ${PLIST_SRC} + @if [ -f ${PKGDIR}/PLIST ]; then \ + ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \ + else \ + ${RM} -f ${PLIST_SRC}; \ + fi ${RPM2PKG} ${RPM2PKGARGS} @if ${GREP} -q 'lib.*\.so' ${PLIST_SRC}; then \ ${ECHO_MSG} "===> [Automatic Linux shared object handling]"; \ |