diff options
author | obrien <obrien@FreeBSD.org> | 2005-04-11 08:04:41 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-04-11 08:04:41 +0000 |
commit | 6b02d1b35c173832c085697cf76aa156d04ad843 (patch) | |
tree | 195cb55f1eda849521409154920849cf102b91fa /lang | |
parent | 93ea51bfc3219265c52c39374430d10201b8f436 (diff) | |
download | FreeBSD-ports-6b02d1b35c173832c085697cf76aa156d04ad843.zip FreeBSD-ports-6b02d1b35c173832c085697cf76aa156d04ad843.tar.gz |
Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
Diffstat (limited to 'lang')
32 files changed, 35 insertions, 39 deletions
diff --git a/lang/asn1c/Makefile b/lang/asn1c/Makefile index 263e27e..d084903 100644 --- a/lang/asn1c/Makefile +++ b/lang/asn1c/Makefile @@ -16,7 +16,7 @@ MAINTAINER= vlm@lionet.info COMMENT= Modern ASN.1 to C compiler GNU_CONFIGURE= yes -CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL} USE_PERL5= yes MAN1= asn1c.1 enber.1 unber.1 diff --git a/lang/cyclone/Makefile b/lang/cyclone/Makefile index a5b8080..9f4534a 100644 --- a/lang/cyclone/Makefile +++ b/lang/cyclone/Makefile @@ -22,9 +22,9 @@ ONLY_FOR_ARCHS= i386 USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} PLIST_SUB+= DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \ - PORTBLD=${MACHINE_ARCH}-portbld-freebsd${OSREL} + PORTBLD=${ARCH}-portbld-freebsd${OSREL} ALL_TARGET= all gprof aprof CYCBINDIR= ${PREFIX}/bin CYCINCDIR= ${PREFIX}/include/cyclone @@ -32,10 +32,6 @@ CYCLIBDIR= ${PREFIX}/lib/cyclone .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 500000 -BROKEN= "Cannot convert header files on -CURRENT!" -.endif - post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${DOCSDIR}/online-manual diff --git a/lang/elk/Makefile b/lang/elk/Makefile index 07f2f2a..861d52d 100644 --- a/lang/elk/Makefile +++ b/lang/elk/Makefile @@ -21,7 +21,7 @@ USE_BZIP2= yes USE_MOTIF= yes USE_LIBTOOL_VER=13 LIBTOOLFLAGS= # none -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes diff --git a/lang/ferite/Makefile b/lang/ferite/Makefile index c0f7ab6..568161a 100644 --- a/lang/ferite/Makefile +++ b/lang/ferite/Makefile @@ -20,11 +20,11 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \ USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" INSTALLS_SHLIB= yes -PLIST_SUB= MACHINE_ARCH=${MACHINE_ARCH} +PLIST_SUB= ARCH=${ARCH} MAN1= builder.1 ferite.1 diff --git a/lang/gforth/Makefile b/lang/gforth/Makefile index cf9b8f6..40ef322 100644 --- a/lang/gforth/Makefile +++ b/lang/gforth/Makefile @@ -41,13 +41,13 @@ MAN1= gforth.1 # Local variables # -.if ${MACHINE_ARCH} == i386 +.if ${ARCH} == i386 WORDSIZE=32 .else WORDSIZE=64 .endif -.if ${MACHINE_ARCH} == sparc64 +.if ${ARCH} == sparc64 BYTEORDER=b .else BYTEORDER=l diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile index a8765a5..ed94cd7 100644 --- a/lang/gprolog/Makefile +++ b/lang/gprolog/Makefile @@ -27,7 +27,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}.orig/src/src USE_REINPLACE= yes USE_GMAKE= yes USE_AUTOCONF_VER= 253 -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-c-flags="${CFLAGS}" \ --with-doc-dir=none \ --with-examples-dir="${EXAMPLESDIR}" diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile index 5ffa289..a5f3873 100644 --- a/lang/hugs/Makefile +++ b/lang/hugs/Makefile @@ -35,7 +35,7 @@ USE_GL= yes MAN1= hugs.1 -.if ${MACHINE_ARCH:L} == "amd64" +.if ${ARCH:L} == "amd64" CFLAGS+= "-fPIC" .endif diff --git a/lang/libutils/Makefile b/lang/libutils/Makefile index 17ec79a..909040e 100644 --- a/lang/libutils/Makefile +++ b/lang/libutils/Makefile @@ -19,7 +19,7 @@ COMMENT= Support lib for Tensile/NSL USE_GMAKE= yes USE_INC_LIBTOOL_VER=13 -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} MAKE_ARGS= CFLAGS="${CFLAGS}" INSTALLS_SHLIB= yes diff --git a/lang/lua/Makefile b/lang/lua/Makefile index 227d488..06effc4 100644 --- a/lang/lua/Makefile +++ b/lang/lua/Makefile @@ -44,7 +44,7 @@ post-install: @cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} .endif -.if ${MACHINE_ARCH:L} == "amd64" +.if ${ARCH:L} == "amd64" CFLAGS+= -fPIC .endif diff --git a/lang/lua4/Makefile b/lang/lua4/Makefile index c79d286..e0a2c91 100644 --- a/lang/lua4/Makefile +++ b/lang/lua4/Makefile @@ -48,7 +48,7 @@ post-install: @${STRIP_CMD} ${PREFIX}/bin/lua @${STRIP_CMD} ${PREFIX}/bin/luac -.if ${MACHINE_ARCH:L} == "amd64" +.if ${ARCH:L} == "amd64" CFLAGS+= -fPIC .endif diff --git a/lang/lua50/Makefile b/lang/lua50/Makefile index 227d488..06effc4 100644 --- a/lang/lua50/Makefile +++ b/lang/lua50/Makefile @@ -44,7 +44,7 @@ post-install: @cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} .endif -.if ${MACHINE_ARCH:L} == "amd64" +.if ${ARCH:L} == "amd64" CFLAGS+= -fPIC .endif diff --git a/lang/nickle/Makefile b/lang/nickle/Makefile index 539b59c..c225faf 100644 --- a/lang/nickle/Makefile +++ b/lang/nickle/Makefile @@ -15,7 +15,7 @@ COMMENT= A desk calculator language USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} # Nickle now has bindings which are likely to pull in libraries that need # libpthread. Link to it now, since it wouldn't work at runtime. diff --git a/lang/onyx/Makefile b/lang/onyx/Makefile index 0fe6db5..c04be4c 100644 --- a/lang/onyx/Makefile +++ b/lang/onyx/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= edit.5:${PORTSDIR}/devel/libedit \ USE_BZIP2= yes USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \ --with-pcre-prefix=${LOCALBASE} INSTALLS_SHLIB= yes diff --git a/lang/open-cobol-devel/Makefile b/lang/open-cobol-devel/Makefile index 75c4921..d1ddcad 100644 --- a/lang/open-cobol-devel/Makefile +++ b/lang/open-cobol-devel/Makefile @@ -21,7 +21,7 @@ USE_LIBLTDL= yes USE_GETOPT_LONG= yes USE_REINPLACE= yes USE_LIBTOOL_VER= 15 -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes diff --git a/lang/open-cobol/Makefile b/lang/open-cobol/Makefile index 75c4921..d1ddcad 100644 --- a/lang/open-cobol/Makefile +++ b/lang/open-cobol/Makefile @@ -21,7 +21,7 @@ USE_LIBLTDL= yes USE_GETOPT_LONG= yes USE_REINPLACE= yes USE_LIBTOOL_VER= 15 -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes diff --git a/lang/python-devel/Makefile b/lang/python-devel/Makefile index e97fbac..68e64c3 100644 --- a/lang/python-devel/Makefile +++ b/lang/python-devel/Makefile @@ -21,7 +21,7 @@ COMMENT?= An interpreted object-oriented programming language DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/python/Makefile b/lang/python/Makefile index 906d050..a1f0311 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -19,7 +19,7 @@ CONFLICTS= stackless_python-* DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/python23/Makefile b/lang/python23/Makefile index ebcd80d..8ca303c 100644 --- a/lang/python23/Makefile +++ b/lang/python23/Makefile @@ -19,7 +19,7 @@ CONFLICTS= stackless_python-* DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/python24/Makefile b/lang/python24/Makefile index 906d050..a1f0311 100644 --- a/lang/python24/Makefile +++ b/lang/python24/Makefile @@ -19,7 +19,7 @@ CONFLICTS= stackless_python-* DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/python25/Makefile b/lang/python25/Makefile index e97fbac..68e64c3 100644 --- a/lang/python25/Makefile +++ b/lang/python25/Makefile @@ -21,7 +21,7 @@ COMMENT?= An interpreted object-oriented programming language DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/python26/Makefile b/lang/python26/Makefile index e97fbac..68e64c3 100644 --- a/lang/python26/Makefile +++ b/lang/python26/Makefile @@ -21,7 +21,7 @@ COMMENT?= An interpreted object-oriented programming language DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/python27/Makefile b/lang/python27/Makefile index e97fbac..68e64c3 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -21,7 +21,7 @@ COMMENT?= An interpreted object-oriented programming language DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/python30/Makefile b/lang/python30/Makefile index e97fbac..68e64c3 100644 --- a/lang/python30/Makefile +++ b/lang/python30/Makefile @@ -21,7 +21,7 @@ COMMENT?= An interpreted object-oriented programming language DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/python31/Makefile b/lang/python31/Makefile index e97fbac..68e64c3 100644 --- a/lang/python31/Makefile +++ b/lang/python31/Makefile @@ -21,7 +21,7 @@ COMMENT?= An interpreted object-oriented programming language DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/python32/Makefile b/lang/python32/Makefile index e97fbac..68e64c3 100644 --- a/lang/python32/Makefile +++ b/lang/python32/Makefile @@ -21,7 +21,7 @@ COMMENT?= An interpreted object-oriented programming language DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" diff --git a/lang/rscheme/Makefile b/lang/rscheme/Makefile index 1646fb3..88ae4ef 100644 --- a/lang/rscheme/Makefile +++ b/lang/rscheme/Makefile @@ -15,7 +15,7 @@ DISTNAME= rs-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= An object-oriented, extended version of the Scheme dialect of Lisp -.if ${MACHINE_ARCH} != "i386" +.if ${ARCH} != "i386" BROKEN= "fails to install on ${ARCH}" .endif diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile index 351f896..9deccc3 100644 --- a/lang/smalltalk/Makefile +++ b/lang/smalltalk/Makefile @@ -21,7 +21,7 @@ USE_REINPLACE= yes USE_GMAKE= yes USE_ICONV= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ MAKEINFO="makeinfo --no-split" CONFIGURE_ARGS= --disable-gtk --without-emacs --without-gmp diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile index 210c001..26bbe21 100644 --- a/lang/swi-pl/Makefile +++ b/lang/swi-pl/Makefile @@ -26,7 +26,7 @@ GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -CONFIGURE_ARGS= --host=${MACHINE_ARCH}-${OPSYS:L} --disable-mt +CONFIGURE_ARGS= --host=${ARCH}-${OPSYS:L} --disable-mt MAN1= pl.1 plrc.1 plld.1 PLIST_SUB= DISTNAME=${DISTNAME} ARCH=${ARCH} OS=${OPSYS:L} diff --git a/lang/tensile/Makefile b/lang/tensile/Makefile index 01d70d3..f98aac4 100644 --- a/lang/tensile/Makefile +++ b/lang/tensile/Makefile @@ -25,7 +25,7 @@ USE_REINPLACE= yes USE_GMAKE= yes USE_LIBTOOL_VER=13 LIBTOOLFLAGS= # none -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --disable-module-postgres diff --git a/lang/xsb/Makefile b/lang/xsb/Makefile index 7204f8b..94781a3fe 100644 --- a/lang/xsb/Makefile +++ b/lang/xsb/Makefile @@ -23,7 +23,7 @@ USE_GMAKE= yes MAN1= xsb.1 -PLIST_SUB+= MACHINE_ARCH=${MACHINE_ARCH} \ +PLIST_SUB+= ARCH=${ARCH} \ OPSYS=${OPSYS:S/BSD/bsd/g:S/F/f/g:S/O/o/g:S/N/n/g} .include <bsd.port.pre.mk> diff --git a/lang/yabasic/Makefile b/lang/yabasic/Makefile index 4b4c40f..f580fca 100644 --- a/lang/yabasic/Makefile +++ b/lang/yabasic/Makefile @@ -17,7 +17,7 @@ USE_XLIB= yes USE_BISON= yes USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} MAN1= yabasic.1 PORTDOCS= yabasic.htm diff --git a/lang/yap/Makefile b/lang/yap/Makefile index 26af5f7..90e2214 100644 --- a/lang/yap/Makefile +++ b/lang/yap/Makefile @@ -19,7 +19,7 @@ COMMENT= A high-performance Prolog compiler LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" |