aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-05-29 02:21:41 +0800
committerarved <arved@FreeBSD.org>2006-05-29 02:21:41 +0800
commite99124e9e41f85f506f8ac4d89fab1894e57be6d (patch)
tree769193b3210efe34a0c770e0935ed3899c956502
parentf20b75b5a746b31f5bdcdf93c7314fc30cf2d654 (diff)
downloadfreebsd-ports-gnome-e99124e9e41f85f506f8ac4d89fab1894e57be6d.tar.gz
freebsd-ports-gnome-e99124e9e41f85f506f8ac4d89fab1894e57be6d.tar.zst
freebsd-ports-gnome-e99124e9e41f85f506f8ac4d89fab1894e57be6d.zip
Fix build on !i386
PR: 98019 Submitted by: Kato Tsuguru
-rw-r--r--audio/soundtracker/Makefile5
-rw-r--r--audio/soundtracker/pkg-plist4
2 files changed, 6 insertions, 3 deletions
diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile
index aaba3e0dcf08..64027e15f3f6 100644
--- a/audio/soundtracker/Makefile
+++ b/audio/soundtracker/Makefile
@@ -27,6 +27,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
.if ${ARCH} != "i386" || defined(WITHOUT_X86_ASM)
CONFIGURE_ARGS+= --disable-asm
+.else
+CONFIGURE_ARGS+= --enable-asm
.endif
.if ${HAVE_GNOME:Mgnomelibs}!=""
@@ -61,7 +63,8 @@ PLIST_SUB+= NLS=""
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's| install-exec-local||g'
- @${REINPLACE_CMD} -e 's|-pthread -ldl||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|asm_support=yes|asm_support=$$enableval|g ; \
+ s|-pthread -ldl||g' ${WRKSRC}/configure
pre-build:
.if !defined(WITHOUT_NLS)
diff --git a/audio/soundtracker/pkg-plist b/audio/soundtracker/pkg-plist
index b2de5b58893f..bdd244cd1042 100644
--- a/audio/soundtracker/pkg-plist
+++ b/audio/soundtracker/pkg-plist
@@ -30,8 +30,8 @@ bin/soundtracker
%%DATADIR%%/soundtracker_splash.png
%%DATADIR%%/stop.xpm
@dirrm %%DATADIR%%
-%%NLS%%@dirrm share/locale/rw/LC_MESSAGES
-%%NLS%%@dirrm share/locale/rw
+%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/rw
%%NLS%%@dirrm share/locale/en@quot/LC_MESSAGES
%%NLS%%@dirrm share/locale/en@quot
%%NLS%%@dirrm share/locale/en@boldquot/LC_MESSAGES