diff options
author | rafan <rafan@FreeBSD.org> | 2007-03-20 01:12:56 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-03-20 01:12:56 +0800 |
commit | c694b77d0c0abca95c943ef738fef57a901830cd (patch) | |
tree | ebda03f2214d03fe2cea1d6c4b6f62479e402f58 /audio | |
parent | 5428b94d683838056de552691d826f3b84a2f9b8 (diff) | |
download | freebsd-ports-graphics-c694b77d0c0abca95c943ef738fef57a901830cd.tar.gz freebsd-ports-graphics-c694b77d0c0abca95c943ef738fef57a901830cd.tar.zst freebsd-ports-graphics-c694b77d0c0abca95c943ef738fef57a901830cd.zip |
- Remove hardcoded -msse and -msse2 for non-x86 arch [1]
- Switch to bsd.wx.mk
Reported by: pointyhat via kris [1]
Approved by: Jack L. <xxjack12xx at gmail.com> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audacity-devel/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/audio/audacity-devel/Makefile b/audio/audacity-devel/Makefile index f1b10d1b0b8..c95157f8052 100644 --- a/audio/audacity-devel/Makefile +++ b/audio/audacity-devel/Makefile @@ -16,17 +16,20 @@ MAINTAINER= xxjack12xx@gmail.com COMMENT= Audacity is a GUI editor for digital audio waveforms BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip -LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26 CONFLICTS= audacity-[0-9]* WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION}-beta + GNU_CONFIGURE= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_GETTEXT= yes USE_GCC= 4.1 +USE_WX= 2.6 +WX_COMPS= wx + CONFIGURE_ARGS= --mandir=${MANPREFIX}/man MAN1= audacity.1 @@ -45,7 +48,7 @@ SSE_CFLAGS= -mno-sse -mno-sse2 CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}" \ CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}" \ - WX_CONFIG=${X11BASE}/bin/wxgtk2-2.6-config + WX_CONFIG=${WX_CONFIG} .if !defined(NOPORTDOCS) MAKE_ENV= DOC=yes @@ -76,5 +79,9 @@ CONFIGURE_ARGS+= --without-id3tag post-patch: @${REINPLACE_CMD} -e 's,^sndfile.c : .*,,' \ ${WRKSRC}/lib-src/libsndfile/src/Makefile.in +.if ${ARCH} != "i386" && ${ARCH} != "amd64" + @${REINPLACE_CMD} -e 's,-msse2?,,' \ + ${WRKSRC}/lib-src/soundtouch/source/SoundTouch/Makefile.in +.endif .include <bsd.port.post.mk> |