forked from ports/contrib
mjpegtools: fix compile by adding -fPIC
This commit is contained in:
parent
65c88d28fc
commit
0c4c60fb2e
@ -1 +0,0 @@
|
|||||||
57bf5dd78976ca9bac972a6511b236f3 mjpegtools-2.1.0.tar.gz
|
|
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF32hz5/lRVGAjxY4qIoDKo3ZhMVQbeLU42MpCGl1IliCTWVeI0W9/D10Gn0AmvRnuZsjNIlSJCe2+HgQVsfVb9QI=
|
RWSagIOpLGJF33lHpXbQlmZy6IIfGijRL9cvuvxV8s/7Qpbdt62HDrUqb2UczDFJmsYvdA2cS8aSw2ke1698YbZq0IWJXPTfCA0=
|
||||||
SHA256 (Pkgfile) = 4861b6045c78f657af3fbdd3db93f56b53c2507caa1c34f21b51eba089f42c1c
|
SHA256 (Pkgfile) = 33f5cf7ba6c3e58fb77c3a38776fd7ea67f931d43549174b2e45dbbe522e1f1e
|
||||||
SHA256 (.footprint) = 6b3f114e333031b46afc2ec0b831ec2a5283707d0a18b4554e052ccc5eb626ab
|
SHA256 (.footprint) = 6b3f114e333031b46afc2ec0b831ec2a5283707d0a18b4554e052ccc5eb626ab
|
||||||
SHA256 (mjpegtools-2.1.0.tar.gz) = 864f143d7686377f8ab94d91283c696ebd906bf256b2eacc7e9fb4dddcedc407
|
SHA256 (mjpegtools-2.1.0.tar.gz) = 864f143d7686377f8ab94d91283c696ebd906bf256b2eacc7e9fb4dddcedc407
|
||||||
|
@ -1,19 +1,21 @@
|
|||||||
# Description: Tools for recording, editing, playing and encoding mpeg video.
|
# Description: Tools for recording, editing, playing and encoding mpeg video.
|
||||||
# URL: http://mjpeg.sourceforge.net
|
# URL: http://mjpeg.sourceforge.net
|
||||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||||
# Packager: bashy, ronny kornexl at online de
|
|
||||||
# Depends on: libdv libjpeg-turbo libpng
|
# Depends on: libdv libjpeg-turbo libpng
|
||||||
# Optional: v4l-utils
|
# Optional: v4l-utils
|
||||||
|
|
||||||
name=mjpegtools
|
name=mjpegtools
|
||||||
version=2.1.0
|
version=2.1.0
|
||||||
release=3
|
release=4
|
||||||
source=(http://downloads.sourceforge.net/project/mjpeg/$name/$version/$name-$version.tar.gz)
|
source=(https://downloads.sourceforge.net/project/mjpeg/$name/$version/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
|
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
|
||||||
|
export CFLAGS+=' -fPIC'
|
||||||
|
export CXXFLAGS+=' -fPIC'
|
||||||
|
export LDFLAGS+=' -fPIC'
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user