- ARCH is defined in bsd.port.pre.mk

This commit is contained in:
Florent Thoumie 2005-04-11 11:26:40 +00:00
parent d2115c80e0
commit 0cde76ebca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133022
3 changed files with 12 additions and 7 deletions

View file

@ -17,10 +17,6 @@ COMMENT= A language designed for creating and editing standard MIDI files
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
IGNORE= "ignored due to cast from pointer to integer of different size"
.endif
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes
MAKE_ENV= TCL_GENERIC_DIR=${LOCALBASE}/include/tcl8.2 MAKE_ENV= TCL_GENERIC_DIR=${LOCALBASE}/include/tcl8.2
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
@ -35,6 +31,10 @@ MANN= midiconf.n midievnt.n midifree.n midiget.n midigrep.n \
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
IGNORE= "ignored due to cast from pointer to integer of different size"
.endif
.if ${OSVERSION} >= 502000 .if ${OSVERSION} >= 502000
EXTRA_PATCHES= ${PATCHDIR}/smf.patch ${PATCHDIR}/song.patch EXTRA_PATCHES= ${PATCHDIR}/smf.patch ${PATCHDIR}/song.patch

View file

@ -30,11 +30,13 @@ TESTDATADIR= ABSORB_EXAMPLE ABSTOMPA_EXAMPLE ABSTOMPA_TEST ADDSYM_EXAMPLE \
ASYM_EXAMPLE DELABS_EXAMPLE MULABS_EXAMPLE PSICOR_EXAMPLE \ ASYM_EXAMPLE DELABS_EXAMPLE MULABS_EXAMPLE PSICOR_EXAMPLE \
SQUEEZE_EXAMPLE SQUEEZE_EXAMPLE
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" .if ${ARCH} == "alpha"
BROKEN= "/usr/libexec/elf/ld: platon.o: .got subsegment exceeds 64K (size 88552)" BROKEN= "/usr/libexec/elf/ld: platon.o: .got subsegment exceeds 64K (size 88552)"
.endif .endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400004 .if ${OSVERSION} >= 400004
MAKE_ENV+= HAVE_G2C=yes MAKE_ENV+= HAVE_G2C=yes
.endif .endif

View file

@ -29,7 +29,10 @@ WANT_MYSQL_VER= 323
post-install: post-install:
$(LN) ${PREFIX}/lib/libfireprofile.so ${PREFIX}/lib/libfireprofile.so.0 $(LN) ${PREFIX}/lib/libfireprofile.so ${PREFIX}/lib/libfireprofile.so.0
.if ${ARCH:L} == amd64 .include <bsd.port.pre.mk>
.if ${ARCH} == amd64
CFLAGS+= -fPIC CFLAGS+= -fPIC
.endif .endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>