aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-08-14 22:12:06 +0800
committermarino <marino@FreeBSD.org>2013-08-14 22:12:06 +0800
commit3a71293a7d1fdbfd54f08a3d745e5876c6f8c682 (patch)
tree067bf8f56a0fd795e58330193a21fc1774827fb3
parent0a76682ee52075d4f07e8261ceca005002d2f378 (diff)
downloadfreebsd-ports-gnome-3a71293a7d1fdbfd54f08a3d745e5876c6f8c682.tar.gz
freebsd-ports-gnome-3a71293a7d1fdbfd54f08a3d745e5876c6f8c682.tar.zst
freebsd-ports-gnome-3a71293a7d1fdbfd54f08a3d745e5876c6f8c682.zip
audio/dumb: directly link libraries
Fixes indirect linking errors on modern binutils (fix from dports) Approved by: culot (mentor), maintainer timeout
-rw-r--r--audio/dumb/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/dumb/Makefile b/audio/dumb/Makefile
index bab3656b58c4..69b444f5a6ae 100644
--- a/audio/dumb/Makefile
+++ b/audio/dumb/Makefile
@@ -21,6 +21,7 @@ ALLEGRO_DESC= Enable allegro support
LIB_DEPENDS+= alleg:${PORTSDIR}/devel/allegro
PLIST_SUB+= ALLEGRO=""
MAKE_ARGS= _PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`"
+MAKE_ARGS+= LINK_ALLEGRO="-lm -L${LOCALBASE}/lib -lalleg ${LOCALBASE}/lib/liballeg_unsharable.a"
PKGNAMESUFFIX= -allegro
CONFLICTS= dumb-[0-9]*
.else