aboutsummaryrefslogtreecommitdiff
path: root/science/vis5d+/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 06:19:33 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 06:19:33 +0000
commite801d0068e1e6e1f83dd346d799fe54db94af059 (patch)
treea610e8b4d6ab7261107c3655143c592936061925 /science/vis5d+/Makefile
parentdb97870cec4b24b829d43b5caa602210e9ca3d3b (diff)
- Support CFLAGS/CXXFLAGS properly
- Do not install useless .la files PR: 42886 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=66794
Diffstat (limited to 'science/vis5d+/Makefile')
-rw-r--r--science/vis5d+/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/science/vis5d+/Makefile b/science/vis5d+/Makefile
index aafbc871911e..0b1bcf115ff5 100644
--- a/science/vis5d+/Makefile
+++ b/science/vis5d+/Makefile
@@ -8,7 +8,7 @@
PORTNAME= vis5d+
PORTVERSION= 1.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vis5d
@@ -22,21 +22,17 @@ LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
-USE_BISON= yes
USE_MESA= yes
-USE_XLIB= yes
USE_GNOMENG= yes
USE_GNOME= gtk12
USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= \
- CPPFLAGS="${CXXFLAGS} ${PTHREAD_FLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
- LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -liconv -lintl -L${X11BASE}/lib"
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-gtk --enable-threads --with-mesa --with-netcdf \
--with-mixkit=${LOCALBASE}/lib/libmix.a --with-x
INSTALLS_SHLIB= yes
-pre-build:
- @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
+CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_FLAGS}
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
.include <bsd.port.mk>