From 754ed9164a250d2f217e879081ad3f440aed8227 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Fri, 30 May 2014 18:43:48 +0000 Subject: - Switch to USES=libtool, drop .la files - Strip libraries --- devel/alf/Makefile | 5 +++-- devel/alf/files/patch-python__Makefile.in | 11 +++++++++++ devel/alf/pkg-plist | 3 +-- 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 devel/alf/files/patch-python__Makefile.in (limited to 'devel/alf') diff --git a/devel/alf/Makefile b/devel/alf/Makefile index 03b04d896dd3..242f8685b3f4 100644 --- a/devel/alf/Makefile +++ b/devel/alf/Makefile @@ -3,16 +3,17 @@ PORTNAME= alf PORTVERSION= 0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= SF/largefiles/largefiles/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Abstract Large File -USE_AUTOTOOLS= libtool +USES= libtool USE_PYTHON= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes +INSTALL_TARGET= install-strip .include diff --git a/devel/alf/files/patch-python__Makefile.in b/devel/alf/files/patch-python__Makefile.in new file mode 100644 index 000000000000..2d62479bf04e --- /dev/null +++ b/devel/alf/files/patch-python__Makefile.in @@ -0,0 +1,11 @@ +--- python/Makefile.in.orig 2002-05-22 17:05:02.000000000 +0400 ++++ python/Makefile.in 2014-05-30 21:46:22.000000000 +0400 +@@ -104,7 +104,7 @@ + + pyexec_LTLIBRARIES = alfmodule.la + alfmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex initalf +-alfmodule_la_LIBADD = -L../src -lalf ++alfmodule_la_LIBADD = -L../src -L../src/.libs -lalf + alfmodule_la_SOURCES = alfmodule.c + subdir = python + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/devel/alf/pkg-plist b/devel/alf/pkg-plist index 4c8daeda87ac..9ae71d4e8760 100644 --- a/devel/alf/pkg-plist +++ b/devel/alf/pkg-plist @@ -1,10 +1,9 @@ include/alf/alf.h include/alf/common.h lib/libalf.a -lib/libalf.la lib/libalf.so lib/libalf.so.0 +lib/libalf.so.0.0.0 %%PYTHON_SITELIBDIR%%/alfmodule.a -%%PYTHON_SITELIBDIR%%/alfmodule.la %%PYTHON_SITELIBDIR%%/alfmodule.so @dirrm include/alf -- cgit