summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-20 12:27:06 +0000
committerijliao <ijliao@FreeBSD.org>2002-11-20 12:27:06 +0000
commitc6d582772d8b12ddf4d4301b4492cb2c5e1c0dc7 (patch)
treebae7aa38c37206a7f781ea8555c4beba3cd89f4d
parent0a4190ce8140b0ba4b3220882da033226546e3c5 (diff)
downloadFreeBSD-ports-c6d582772d8b12ddf4d4301b4492cb2c5e1c0dc7.zip
FreeBSD-ports-c6d582772d8b12ddf4d4301b4492cb2c5e1c0dc7.tar.gz
- Do not install useless .la files
- Support CXFLAGS/CXXFLAGS properly PR: 45426 Submitted by: Ports Fury
-rw-r--r--devel/ppl/Makefile30
-rw-r--r--devel/ppl/files/patch-interfaces::Makefile.in11
-rw-r--r--devel/ppl/files/patch-ltmain.sh15
-rw-r--r--devel/ppl/pkg-plist1
4 files changed, 45 insertions, 12 deletions
diff --git a/devel/ppl/Makefile b/devel/ppl/Makefile
index a94ae08..8d75f6c 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 0000000..79a07f8
--- /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 0000000..bcd97fa
--- /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 ff4c7c7..4b8c4cf 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
OpenPOWER on IntegriCloud