1
0
forked from ports/contrib

mjpegtools: fix compile by adding -fPIC

This commit is contained in:
Danny Rawlins 2018-07-22 20:21:59 +10:00
parent 65c88d28fc
commit 0c4c60fb2e
3 changed files with 7 additions and 6 deletions

View File

@ -1 +0,0 @@
57bf5dd78976ca9bac972a6511b236f3 mjpegtools-2.1.0.tar.gz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF32hz5/lRVGAjxY4qIoDKo3ZhMVQbeLU42MpCGl1IliCTWVeI0W9/D10Gn0AmvRnuZsjNIlSJCe2+HgQVsfVb9QI=
SHA256 (Pkgfile) = 4861b6045c78f657af3fbdd3db93f56b53c2507caa1c34f21b51eba089f42c1c
RWSagIOpLGJF33lHpXbQlmZy6IIfGijRL9cvuvxV8s/7Qpbdt62HDrUqb2UczDFJmsYvdA2cS8aSw2ke1698YbZq0IWJXPTfCA0=
SHA256 (Pkgfile) = 33f5cf7ba6c3e58fb77c3a38776fd7ea67f931d43549174b2e45dbbe522e1f1e
SHA256 (.footprint) = 6b3f114e333031b46afc2ec0b831ec2a5283707d0a18b4554e052ccc5eb626ab
SHA256 (mjpegtools-2.1.0.tar.gz) = 864f143d7686377f8ab94d91283c696ebd906bf256b2eacc7e9fb4dddcedc407

View File

@ -1,19 +1,21 @@
# Description: Tools for recording, editing, playing and encoding mpeg video.
# URL: http://mjpeg.sourceforge.net
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: bashy, ronny kornexl at online de
# Depends on: libdv libjpeg-turbo libpng
# Optional: v4l-utils
name=mjpegtools
version=2.1.0
release=3
source=(http://downloads.sourceforge.net/project/mjpeg/$name/$version/$name-$version.tar.gz)
release=4
source=(https://downloads.sourceforge.net/project/mjpeg/$name/$version/$name-$version.tar.gz)
build() {
cd $name-$version
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
export CFLAGS+=' -fPIC'
export CXXFLAGS+=' -fPIC'
export LDFLAGS+=' -fPIC'
./configure \
--prefix=/usr \