diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:27:06 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:27:06 +0000 |
commit | 5e8f2683068a37fd672b07490f0ac4947150dab2 (patch) | |
tree | 32b236fce72efbaf5efc3d3f2ae409c472429f2e /devel/ppl | |
parent | - Support CXX/CXXFLAGS properly (diff) |
- Do not install useless .la files
- Support CXFLAGS/CXXFLAGS properly
PR: 45426
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=70569
Diffstat (limited to 'devel/ppl')
-rw-r--r-- | devel/ppl/Makefile | 30 | ||||
-rw-r--r-- | devel/ppl/files/patch-interfaces::Makefile.in | 11 | ||||
-rw-r--r-- | devel/ppl/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | devel/ppl/pkg-plist | 1 |
4 files changed, 45 insertions, 12 deletions
diff --git a/devel/ppl/Makefile b/devel/ppl/Makefile index a94ae08e0627..8d75f6cd2e33 100644 --- a/devel/ppl/Makefile +++ b/devel/ppl/Makefile @@ -8,24 +8,32 @@ PORTNAME= ppl PORTVERSION= 0.4.2 +PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= ftp://ftp.cs.unipr.it/pub/ppl/releases/${PORTVERSION}/ \ - http://www.cs.unipr.it/ppl/Download/ftp/releases/${PORTVERSION}/ +MASTER_SITES= ftp://ftp.cs.unipr.it/pub/ppl/releases/%SUBDIR%/ \ + http://www.cs.unipr.it/ppl/Download/ftp/releases/%SUBDIR%/ +MASTER_SITE_SUBDIR= ${PORTVERSION} MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 -USE_LIBTOOL= yes -USE_GCC= 3.1 -GNU_CONFIGURE= yes -CFLAGS+= -I${LOCALBASE}/include -CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --with-cxxflags="${CXXFLAGS}" USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --disable-debugging \ + --enable-optimization \ + --with-cflags="${CFLAGS}" \ + --with-cxxflags="${CXXFLAGS}" \ + --with-gmp-includes="${LOCALBASE}/include" \ + --with-gmp-dir="${LOCALBASE}/lib" INSTALLS_SHLIB= yes -post-install: - @${RMDIR} ${PREFIX}/lib/ppl +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500035 +#BROKEN= "Does not build" +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/ppl/files/patch-interfaces::Makefile.in b/devel/ppl/files/patch-interfaces::Makefile.in new file mode 100644 index 000000000000..79a07f893bc0 --- /dev/null +++ b/devel/ppl/files/patch-interfaces::Makefile.in @@ -0,0 +1,11 @@ +--- interfaces/Makefile.in.orig Fri Oct 4 19:25:02 2002 ++++ interfaces/Makefile.in Tue Nov 12 02:34:53 2002 +@@ -180,7 +180,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + +-SUBDIRS = C Prolog ++SUBDIRS = C + subdir = interfaces + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h diff --git a/devel/ppl/files/patch-ltmain.sh b/devel/ppl/files/patch-ltmain.sh new file mode 100644 index 000000000000..bcd97fabe24a --- /dev/null +++ b/devel/ppl/files/patch-ltmain.sh @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Mon Jul 1 23:54:06 2002 ++++ ltmain.sh Mon Nov 11 22:34:15 2002 +@@ -4772,10 +4772,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/devel/ppl/pkg-plist b/devel/ppl/pkg-plist index ff4c7c7b891c..4b8c4cf132f4 100644 --- a/devel/ppl/pkg-plist +++ b/devel/ppl/pkg-plist @@ -1,5 +1,4 @@ include/ppl.hh lib/libppl.a -lib/libppl.la lib/libppl.so lib/libppl.so.1 |