PREFIX -> TRUEPREFIX

This commit is contained in:
ajacoutot 2010-04-19 08:16:17 +00:00
parent 5329a3cbdd
commit ba27702cd7
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/04/16 13:10:47 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.2 2010/04/19 08:16:17 ajacoutot Exp $
COMMENT= C library for manipulating tar files
DISTNAME= libtar-1.2.11
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= tar 0.0 # .1.2

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-lib_Makefile_in,v 1.1.1.1 2010/04/16 13:10:47 ajacoutot Exp $
$OpenBSD: patch-lib_Makefile_in,v 1.2 2010/04/19 08:16:17 ajacoutot Exp $
Enable shared library, from pkgsrc.
@ -12,7 +12,7 @@ Enable shared library, from pkgsrc.
- ${RANLIB} libtar.a
+ ${LIBTOOL} --mode=link --tag=CC \
+ ${CC} -o libtar.la ${LIBTAR_OBJS:.o=.lo} ${LIBOBJS:.o=.lo} \
+ ${LDFLAGS} -rpath ${PREFIX}/lib -version-info 1:2
+ ${LDFLAGS} -rpath ${TRUEPREFIX}/lib -version-info 1:2
${LIBTAR_OBJS}: ${LIBTAR_HDRS}