mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Remove USES=pathfix and add USES=libtool and INSTALL_TARGET=install-strip
This commit is contained in:
parent
cee8b337b6
commit
d81073ea69
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370124
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= dbh
|
||||
PORTVERSION= 5.0.15
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= libdbh2-${PORTVERSION}
|
||||
@ -14,8 +15,9 @@ LICENSE= GPLv3
|
||||
|
||||
CONFLICTS= dbh-[0-4]*
|
||||
|
||||
USES= pathfix pkgconfig
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= libtool pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= GTKDOC
|
||||
@ -43,7 +45,4 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^\(SUBDIRS = src man\).*|\1|' ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdbh.so.2
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,15 +0,0 @@
|
||||
--- ltmain.sh.orig 2010-08-20 10:37:34.875162866 +0200
|
||||
+++ ltmain.sh 2010-08-20 10:38:15.964421976 +0200
|
||||
@@ -2077,10 +2077,12 @@
|
||||
fi
|
||||
|
||||
# Install the pseudo-library for information purposes.
|
||||
+ if /usr/bin/false ; then
|
||||
func_basename "$file"
|
||||
name="$func_basename_result"
|
||||
instname="$dir/$name"i
|
||||
func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
|
||||
+ fi
|
||||
|
||||
# Maybe install the static library, too.
|
||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
@ -2,6 +2,7 @@ include/dbh/dbh.h
|
||||
lib/libdbh.a
|
||||
lib/libdbh.so
|
||||
lib/libdbh.so.2
|
||||
lib/libdbh.so.2.0.1
|
||||
libdata/pkgconfig/dbh2.pc
|
||||
man/man3/dbh.3.gz
|
||||
man/man3/dbh.h.3.gz
|
||||
|
Loading…
Reference in New Issue
Block a user