pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ns-plugger-common Fix a long standing bug where PK...
details: https://anonhg.NetBSD.org/pkgsrc/rev/76088a85a505
branches: trunk
changeset: 533997:76088a85a505
user: dmcmahill <dmcmahill%pkgsrc.org@localhost>
date: Wed Oct 10 15:27:15 2007 +0000
description:
Fix a long standing bug where PKG_INFO was used before it was defined.
diffstat:
www/ns-plugger-common/Makefile | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (34 lines):
diff -r 59181f5b4896 -r 76088a85a505 www/ns-plugger-common/Makefile
--- a/www/ns-plugger-common/Makefile Wed Oct 10 15:20:50 2007 +0000
+++ b/www/ns-plugger-common/Makefile Wed Oct 10 15:27:15 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/07/29 05:19:59 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2007/10/10 15:27:15 dmcmahill Exp $
DISTNAME= plugger-4.0-linux-x86-glibc
PKGNAME= ns-${PLUGGERNAME}-${BINNAME}-${PLUGGERVERS}
@@ -14,13 +14,6 @@
BINNAME?= common
-.if ${BINNAME} != common
-DEPENDS+= ${BINNAME}-[0-9]*:../../www/${BINNAME}
-NSNAME!= ${PKG_INFO} -e ${BINNAME} || ${ECHO}
-MOZILLA_HOME= ${PREFIX}/lib/netscape/${NSNAME:C/nb[0-9]+$//:S/4.80/4.8/}
-PLIST_SUBST+= MOZILLA_HOME=${MOZILLA_HOME:S/${PREFIX}\///}
-.endif
-
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= base
@@ -55,3 +48,10 @@
.endif
.include "../../mk/bsd.pkg.mk"
+
+.if ${BINNAME} != common
+DEPENDS+= ${BINNAME}-[0-9]*:../../www/${BINNAME}
+NSNAME!= ${PKG_INFO} -e ${BINNAME} || ${ECHO}
+MOZILLA_HOME= ${PREFIX}/lib/netscape/${NSNAME:C/nb[0-9]+$//:S/4.80/4.8/}
+PLIST_SUBST+= MOZILLA_HOME=${MOZILLA_HOME:S/${PREFIX}\///}
+.endif
Home |
Main Index |
Thread Index |
Old Index