Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/devel/swt/Attic/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/devel/swt/Attic/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.5 retrieving revision 1.5.2.1 diff -u -p -r1.5 -r1.5.2.1 --- pkgsrc/devel/swt/Attic/Makefile 2010/06/13 22:44:10 1.5 +++ pkgsrc/devel/swt/Attic/Makefile 2010/07/04 07:10:51 1.5.2.1 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2010/06/13 22:44:10 wiz Exp $ +# $NetBSD: Makefile,v 1.5.2.1 2010/07/04 07:10:51 agc Exp $ # SWTREL= 3.5.1 @@ -35,6 +35,13 @@ PLIST_SUBST+= SWTVER=${SWTVER} INSTALLATION_DIRS+= share/java INSTALLATION_DIRS+= lib/jni +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" && ${LOWER_ARCH} == "x86_64" +MY_LOWER_ARCH= amd64 +.endif +MY_LOWER_ARCH?= ${LOWER_ARCH} + post-extract: cd ${WRKSRC} && jar -xf ${WRKSRC}/src.zip cp ${FILESDIR}/make_pkgsrc.mak ${WRKSRC} @@ -44,6 +51,7 @@ do-build: cd ${WRKSRC} && ${GMAKE} \ JAVA_HOME=${PKG_JAVA_HOME} \ LOWER_OPSYS=${LOWER_OPSYS} \ + LOWER_ARCH=${MY_LOWER_ARCH} \ -f make_pkgsrc.mak ${target} .endfor ${TEST} -d ${WRKSRC}/bin || mkdir ${WRKSRC}/bin