1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/graphics/kludge3d/Makefile
John Marino 560d2eb0bf Explicitly link libraries on 10 unmaintained ports
The following ports will not build with a binutils 2.22+ linker built
with standard options.  This has been obvious with DPorts, but difficult
to see on FreeBSD.  However, setting the ports compiler as a recent gcc
(e.g lang/gcc48) is an excellent way to detect the unspecified but needed
libraries as these recent GCC compilers use the latest binutils linkers.
These patches were tested on FreeBSD 8.4 and DragonFly 3.5
2013-10-07 23:40:23 +00:00

38 lines
839 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= kludge3d
PORTVERSION= 20040822
PORTREVISION= 11
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/source/2004-08-22
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple 3D editor
LIB_DEPENDS= 3ds-1.3:${PORTSDIR}/graphics/lib3ds \
gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
USE_PYTHON= yes
USES= gmake pkgconfig
USE_GL= gl
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lib-GL
PLIST_FILES= bin/kludge3d
CPPFLAGS+= -I${LOCALBASE}/include \
-I${PYTHON_INCLUDEDIR} ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib \
-L${PYTHON_LIBDIR}/config -lm ${PTHREAD_LIBS}
NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|@EXTRA_CFLAGS@|@CFLAGS@|g ; \
s| install-pixmapsDATA||g ; \
s|-lpthread||g'
.include <bsd.port.mk>