ports/57835: Update port: science/xloops-ginac
KATO Tsuguru
tkato at prontomail.com
Fri Oct 10 14:30:22 UTC 2003
>Number: 57835
>Category: ports
>Synopsis: Update port: science/xloops-ginac
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 10 07:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Fix build on 4-stable
- Do not create useless empty directory
New file:
files/patch-Makefile.in
files/patch-configure
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/science/xloops-ginac/Makefile science/xloops-ginac/Makefile
--- /usr/ports/science/xloops-ginac/Makefile Sat Apr 12 23:20:21 2003
+++ science/xloops-ginac/Makefile Fri Oct 10 11:18:52 2003
@@ -6,22 +6,34 @@
# $FreeBSD: ports/science/xloops-ginac/Makefile,v 1.4 2003/02/20 18:57:37 knu Exp $
#
-PORTNAME= xloops
+PORTNAME= xloops-ginac
PORTVERSION= 0.1.3
+PORTREVISOIN= 1
CATEGORIES= science
MASTER_SITES= http://wwwthep.physik.uni-mainz.de/~xloops/
-PKGNAMESUFFIX= -ginac
-DISTNAME= ${PORTNAME}-ginac-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= A program calculating Feynman diagrams
-LIB_DEPENDS= ginac:${PORTSDIR}/math/GiNaC
+LIB_DEPENDS= ginac-1.1.3:${PORTSDIR}/math/GiNaC
-USE_LIBTOOL= yes
USE_GMAKE= yes
+USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+.include <bsd.port.pre.mk>
-post-install:
- @${RMDIR} ${DOCSDIR}
+.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.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/science/xloops-ginac/files/patch-Makefile.in science/xloops-ginac/files/patch-Makefile.in
--- /usr/ports/science/xloops-ginac/files/patch-Makefile.in Thu Jan 1 09:00:00 1970
+++ science/xloops-ginac/files/patch-Makefile.in Fri Oct 10 11:10:40 2003
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Thu Nov 8 23:19:05 2001
++++ Makefile.in Fri Oct 10 11:10:31 2003
+@@ -91,7 +91,7 @@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+
+-SUBDIRS = lib check xloops ginsh doc
++SUBDIRS = lib check xloops ginsh
+
+ # Requires automake 1.4
+ AUTOMAKE_OPTIONS = 1.4
diff -urN /usr/ports/science/xloops-ginac/files/patch-configure science/xloops-ginac/files/patch-configure
--- /usr/ports/science/xloops-ginac/files/patch-configure Thu Jan 1 09:00:00 1970
+++ science/xloops-ginac/files/patch-configure Fri Oct 10 10:45:48 2003
@@ -0,0 +1,10 @@
+--- 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'
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list