diff options
author | tv <tv@pkgsrc.org> | 2005-10-26 11:56:12 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-10-26 11:56:12 +0000 |
commit | c439d814043e9a1db9ea233ad8a3bb50053a2ea8 (patch) | |
tree | 7f87739fda99ea04180db15a3a1dc4d40a1a6f4b /misc | |
parent | 877205acf4c216e1a38d078f74e3c822ccbcfa45 (diff) | |
download | pkgsrc-c439d814043e9a1db9ea233ad8a3bb50053a2ea8.tar.gz |
Check defined() before empty() to satisfy older NetBSD make / bmake.
Diffstat (limited to 'misc')
-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" \ |