6eacdb91e8
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"
40 lines
854 B
Makefile
40 lines
854 B
Makefile
# $OpenBSD: Makefile,v 1.56 2012/10/12 14:53:39 sthen Exp $
|
|
|
|
COMMENT= library for dynamic creation of images
|
|
|
|
DISTNAME= gd-2.0.35
|
|
REVISION= 1
|
|
SHARED_LIBS= gd 20.35
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${HOMEPAGE}/releases/
|
|
|
|
HOMEPAGE= http://www.libgd.org/
|
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
graphics/png
|
|
|
|
MODULES= converters/libiconv
|
|
|
|
WANTLIB= c expat fontconfig freetype jpeg m png z
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --without-xpm
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC} && touch Makefile.in aclocal.m4 config.hin configure
|
|
|
|
post-install:
|
|
@cd ${WRKSRC} && ./gddemo
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gd
|
|
cd ${WRKSRC} && ${INSTALL_DATA} demoin.png demoout.png index.html \
|
|
${PREFIX}/share/examples/gd
|
|
|
|
.include <bsd.port.mk>
|