exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la. So everything that subsequently links with libA will also
link to these extra libraries. This causes too much overlinking.
This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging. However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.
So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries. Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field. In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.
PR: ports/188759
Exp-run: bdrewery
Approved by: portmgr (bdrewery)
- Delete files/patch-configure: This patch is non-functional because
configure is regenerated by USE_AUTOTOOLS=autoconf.
- Replace files/patch-aclocal.m4 with USE_AUTOTOOLS=aclocal.
- Replace files/patch-config.h.in with USE_AUTOTOOLS=autoheader.
- Replace files/patch-ltmain.sh with USE_AUTOTOOLS=libtoolize.
- Replace USE_AUTOTOOLS=libtool with USES=libtool.
- Remove indefinite article from COMMENT.
Approved by: hrs (maintainer)
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
- Fix daemonizing part. It now returns the exit status correctly.
- Fix *_{pre,post}cmd handling in the rc.d scripts. Plus,
wnntouch is now invoked just before running the server process.
- Use ${*_WNNMANDIR} in Makefile to use the common patchset
in both FreeWnn-server and -lib.
- Integrate libtool22 change and regenerate patch files.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr
- Add multiple "listenaddr" support. The jserverrc now
understands the following statements:
listenaddr 127.0.0.1
listenaddr ::1
The option "-a <listenaddr>" can also be specified more than
once. Currently the maximum number of listen addresses is 256.
- SIGINT is no longer hooked when the -D (not daemonize,
primarily for debugging) flag is specified.
- Add --unix, long opt counterpart of -u.
jserverrc. This specifies listen address of the INET socket.
Note that the default value is set as 127.0.0.1. If you need
the old behavior (listen INADDR_ANY), use "-a 0.0.0.0" in
$wnn_flags or modify jserverrc.
- Fix a buffer overflow when very long file name is specified in
the -f option.
- Fix a typo in CONFIGURE_ARGS and COMMENT.
- Rename a patch file (patch-Wnn-jd-serverdef).
* USE_AUTOCONF - > USE_AUTOCONF_VER
Submitted by: KATO Tsuguru <tkato@prontomail.com>
* Use config.sub and config.guess in Templates instead of devel/autoconf213
Pointed out by: kuriyama
* Update version to 1.1.1-a020
* Support "{start|stop}" for startup scripts in ${PREFIX}/etc/rc.d
(a) Its name was changed from Wnn to FreeWnn because Wnn6 which is a
commercial software exits
(b) Its license was changed to GPL.
(c) The method to configure was changed from imake to GNU configure.
(d) Relatively to the original Wnn, the Wnn in the ports tree were
modified by me a lot. Most of the modifications were adopted
into FreeWnn.
(c) Header and library files are installed into
${LOCALBASE}/{lib,include} instead of ${X11BASE}/{lib,include}.
(2) FreeWnn is divided into two ports FreeWnn-lib and FreeWnn-server
in chinese, korean and japanese categories. The former is for libwnn
and header files to compile client commands, and the files used in
client commands. The latter is for a server to convert KANA to KANJI
(Chinese character), and dictionaries and files used by the server.
Notice: I forgot to commit FreeWnn-{lib,server} (^_^;;
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.
The (42 or so) ports that already DTRT before are unchanged.
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS. Boo.)
Line up the rhs of variable assignments nicely. Remove a couple of extra
whitespaces while I'm here.
Suggested by: sobomax
Now try to use those variables everywhere around DIST* and PATCH*
definitions as far as possible, for ease of the future updates and the
neatness.
Okay, 60% of `japanese' ports have been done. :)
we must "chown wnn /usr/local/bin/Wnn4/jserver" in pkg/INSTALL
because jserver is a setuid program.
PR: ports/10254
Submitted by: watanabe@komadori.planet.sci.kobe-u.ac.jp