1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Utilize USE_INC_LIBTOOL_VER and lthack knobs

PR:		ports/70547
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-08-16 19:39:10 +00:00
parent c3c7186093
commit 8f24cb1317
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116433
2 changed files with 6 additions and 24 deletions

View File

@ -8,8 +8,7 @@
PORTNAME= xloops-ginac
PORTVERSION= 0.1.3
PORTREVISION= 1
PORTREVISOIN= 3
PORTREVISION= 4
CATEGORIES= science
MASTER_SITES= http://wwwthep.physik.uni-mainz.de/~xloops/
@ -18,23 +17,16 @@ COMMENT= A program calculating Feynman diagrams
LIB_DEPENDS= ginac-1.2.3:${PORTSDIR}/math/GiNaC
USE_GCC= 3.3
USE_GNOME= gnometarget lthack
USE_GMAKE= yes
USE_LIBTOOL_VER=13
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_INC_LIBTOOL_VER= 13
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
CFLAGS+= -O0
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
CPPFLAGS+= -I${LOCALBASE}/include/stlport ${PTHREAD_CFLAGS}
LDFLAGS+= -lstlport_gcc ${PTHREAD_LIBS}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,10 +0,0 @@
--- configure.orig Thu Feb 28 01:06:04 2002
+++ configure Fri Oct 10 10:45:33 2003
@@ -7385,6 +7385,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'