diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-11-20 20:27:06 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-11-20 20:27:06 +0800 |
commit | c6d582772d8b12ddf4d4301b4492cb2c5e1c0dc7 (patch) | |
tree | bae7aa38c37206a7f781ea8555c4beba3cd89f4d /devel | |
parent | 0a4190ce8140b0ba4b3220882da033226546e3c5 (diff) | |
download | freebsd-ports-gnome-c6d582772d8b12ddf4d4301b4492cb2c5e1c0dc7.tar.gz freebsd-ports-gnome-c6d582772d8b12ddf4d4301b4492cb2c5e1c0dc7.tar.zst freebsd-ports-gnome-c6d582772d8b12ddf4d4301b4492cb2c5e1c0dc7.zip |
- Do not install useless .la files
- Support CXFLAGS/CXXFLAGS properly
PR: 45426
Submitted by: Ports Fury
Diffstat (limited to 'devel')
-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 |