The pkg_create magic to handle stripping dynamic libraries on static-only

arch works by converting the .so to .a (which covers the case where a
shared arch builds an .so with no associated .a). As gettext has a couple
of shared libraries with no associated static library this scheme doesn't
work, so split it back out to PFRAG.shared to disable the magic. Fixes vax.
ok espie@ naddy@
This commit is contained in:
sthen 2013-02-16 18:17:49 +00:00
parent 8f0aa87e02
commit 7f9dc60721
3 changed files with 10 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.62 2013/02/15 23:47:04 sthen Exp $
# $OpenBSD: Makefile,v 1.63 2013/02/16 18:17:49 sthen Exp $
COMMENT= GNU gettext
DISTNAME= gettext-0.18.2
REVISION= 0
REVISION= 1
SHARED_LIBS += intl 6.0 # .9.2
SHARED_LIBS += asprintf 1.0 # .0.0
SHARED_LIBS += gettextlib 3.1 # .0.0

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PFRAG.shared,v 1.9 2013/02/16 18:17:49 sthen Exp $
@lib lib/libasprintf.so.${LIBasprintf_VERSION}
@lib lib/libgettextlib.so.${LIBgettextlib_VERSION}
@lib lib/libgettextpo.so.${LIBgettextpo_VERSION}
@lib lib/libgettextsrc.so.${LIBgettextsrc_VERSION}
@lib lib/libintl.so.${LIBintl_VERSION}

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.22 2013/01/21 22:08:52 naddy Exp $
@comment $OpenBSD: PLIST,v 1.23 2013/02/16 18:17:49 sthen Exp $
%%SHARED%%
bin/autopoint
@bin bin/envsubst
@bin bin/gettext
@ -34,17 +35,12 @@ lib/gettext/project-id
lib/gettext/user-email
lib/libasprintf.a
lib/libasprintf.la
@lib lib/libasprintf.so.${LIBasprintf_VERSION}
lib/libgettextlib.la
@lib lib/libgettextlib.so.${LIBgettextlib_VERSION}
lib/libgettextpo.a
lib/libgettextpo.la
@lib lib/libgettextpo.so.${LIBgettextpo_VERSION}
lib/libgettextsrc.la
@lib lib/libgettextsrc.so.${LIBgettextsrc_VERSION}
lib/libintl.a
lib/libintl.la
@lib lib/libintl.so.${LIBintl_VERSION}
@man man/man1/autopoint.1
@man man/man1/envsubst.1
@man man/man1/gettext.1