diff options
author | tv <tv> | 2005-10-26 11:56:12 +0000 |
---|---|---|
committer | tv <tv> | 2005-10-26 11:56:12 +0000 |
commit | eedceb007d0751cb02f28b6199387f64ce70456a (patch) | |
tree | 7f87739fda99ea04180db15a3a1dc4d40a1a6f4b /misc/openoffice2-bin | |
parent | e11a636c594d1e4e0ec3e4015d2d4034994a660e (diff) | |
download | pkgsrc-eedceb007d0751cb02f28b6199387f64ce70456a.tar.gz |
Check defined() before empty() to satisfy older NetBSD make / bmake.
Diffstat (limited to 'misc/openoffice2-bin')
-rw-r--r-- | misc/openoffice2-bin/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/openoffice2-bin/Makefile b/misc/openoffice2-bin/Makefile index 163068e3d9e..36baac82345 100644 --- a/misc/openoffice2-bin/Makefile +++ b/misc/openoffice2-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/10/23 14:38:30 mrauch Exp $ +# $NetBSD: Makefile,v 1.7 2005/10/26 11:56:12 tv Exp $ PKGNAME= openoffice-bin-2.0.0 PKGREVISION= 1 @@ -93,7 +93,7 @@ do-install: ${RM} -f ${WRKDIR}/PLIST.nouniq ${RPM2PKG} ${RPM2PKGARGS} ${WRKSRC}/*.rpm uniq ${WRKDIR}/PLIST.nouniq >${WRKDIR}/PLIST -.if !empty(PKG_JVM) +.if defined(PKG_JVM) && !empty(PKG_JVM) ${RM} -f ${PREFIX}/bin/soffice ${SED} -e "s|@@PREFIX@@|${PREFIX}|g" -e "s|@@OO_VER@@|${OO_VER}|g" \ -e "s|@@JAVA_HOME@@|${PKG_JAVA_HOME}|g" \ |