1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

- Fix build when upgrading from an old version.

PR:		162244 [1]
Reported by:	James Colannino <crankycyclops@gmail.com> via e-mail
		Andrei Lavreniyuk <andy.lavr@gmail.com> [1]
Tested by:	James Colannino <crankycyclops@gmail.com>
This commit is contained in:
Alberto Villa 2011-11-03 07:03:42 +00:00
parent 8fd67d36e2
commit 39c0848259
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284949
2 changed files with 13 additions and 3 deletions

View File

@ -29,8 +29,6 @@ USE_LDCONFIG= yes
# Required at least for frei0r detection.
CFLAGS+= -I${LOCALBASE}/include
# Required at least by linsys module.
LDFLAGS+= -L${LOCALBASE}/lib
NOT_FOR_ARCHS= sparc64
NOT_FOR_ARCHS_REASON_sparc64= does not compile on sparc64 (invokes i386 asm)
@ -198,7 +196,8 @@ pre-configure:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/src/modules/avformat/vdpau.c \
${WRKSRC}/src/modules/frei0r/factory.c \
${WRKSRC}/src/modules/jackrack/plugin_mgr.c
${WRKSRC}/src/modules/jackrack/plugin_mgr.c \
${WRKSRC}/src/modules/linsys/Makefile
${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \

View File

@ -0,0 +1,11 @@
--- ./src/modules/linsys/Makefile.orig 2011-11-02 17:34:58.740000641 +0100
+++ ./src/modules/linsys/Makefile 2011-11-02 17:35:07.133393857 +0100
@@ -12,7 +12,7 @@
ifdef WITH_JPEG
CFLAGS += -DWITH_JPEG
-LDFLAGS += -ljpeg
+LDFLAGS += -ljpeg -L/usr/local/lib
endif
SRCS := $(OBJS:.o=.c)