remove useless .la files

use REINPLACE_CMD

PR:		42699
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
This commit is contained in:
Ying-Chieh Liao 2002-09-19 21:40:30 +00:00
parent 012e2e8f26
commit a9d6d9e571
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66758
2 changed files with 4 additions and 5 deletions

View file

@ -8,7 +8,7 @@
PORTNAME= clint
PORTVERSION= 0.1.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -16,12 +16,13 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
post-patch:
@${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
post-install:
@install-info ${PREFIX}/info/clint.info ${PREFIX}/info/dir

View file

@ -6,11 +6,9 @@ include/clint/python.h
info/clint.info
@exec install-info %D/info/clint.info %D/info/dir
lib/clint/python.a
lib/clint/python.la
lib/clint/python.so
lib/clint/python.so.0
lib/libpython++.a
lib/libpython++.la
lib/libpython++.so
lib/libpython++.so.0
@dirrm lib/clint