sthen 70b6c6a8f2 bump various packages with static libs which frequently get pulled in;
this is to force pkg_add -u to pick them up because moving to PIE does change
these files but since there are no library bumps, the package signature stays
the same.

there are probably others, these are just ones I've run into. not a great
fix, and needs to be repeated when other arch move, but it's the simplest low
impact fix and I'm fed up with "relocation R_X86_64_32S can not be used
when making a shared object; recompile with -fPIC"
2012-10-12 15:06:37 +00:00

39 lines
947 B
Makefile

# $OpenBSD: Makefile,v 1.42 2012/10/12 15:07:53 sthen Exp $
COMMENT= IJG's JPEG compression utilities #'
V= 8c
DISTNAME= jpeg-$V
REVISION= 0
SHARED_LIBS= jpeg 64.0 # 11.0
CATEGORIES= graphics
DPB_PROPERTIES= parallel
HOMEPAGE= http://www.ijg.org/
# BSD-style
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}files/
DISTFILES= jpegsrc.v$V.tar.gz
WANTLIB= c
SEPARATE_BUILD= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
# Symbol versioning triggers weird linking problems in dependent ports.
CONFIGURE_ARGS+=--disable-ld-version-script
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jpeg
${INSTALL_DATA} ${WRKSRC}/libjpeg.txt ${WRKSRC}/wizard.txt \
${PREFIX}/share/doc/jpeg
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/jpeg
${INSTALL_DATA} ${WRKSRC}/example.c ${PREFIX}/share/examples/jpeg
.include <bsd.port.mk>