1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
Commit Graph

120 Commits

Author SHA1 Message Date
Tijl Coosemans
f86cad0ce3 Two imake related changes:
1) Move -a from XMKMF command variable to a new XMKMF_ARGS variable.
   For ports that don't need -a introduce USES=imake:notall.
   This way ports no longer have to redefine XMKMF.

2) xmkmf -a runs imake with the flags in IMAKECPPFLAGS as extra arguments
   to set CPP, CC and CXX.  This creates the top Makefile, and then xmkmf
   runs make Makefiles.  This Makefiles target runs imake for each
   subdirectory but these imake invocations did not have the flags from
   IMAKECPPFLAGS so the resulting makefiles used the wrong C preprocessor
   when clang is used (/usr/bin/cpp instead of /usr/local/bin/tradcpp).
   Instead of letting xmkmf pass IMAKECPPFLAGS from the environment to
   imake let imake handle IMAKECPPFLAGS itself just like it handles
   IMAKEINCLUDE.

   This exposed configure errors in x11-clocks/mouseclock and x11-wm/fvwm.

Approved by:	portmgr (bapt)
2013-09-02 13:26:34 +00:00
Baptiste Daroussin
932db7c46c New USES imake to handle the dependency on imake.
This uses accept 'env' as an argument for ports that do use their own or a different do-configure target.

Modify xmkmf so it accept IMAKECPPFLAGS as default flags for imake and pass it to the called imake.
Modify xorg-cf-files (the FreeBSD.cf configuration file) to allow CppCmd to be overwritten.
Pass CppCmd CcCmd and CplusplusCmd via command line to each call of imake via IMAKECPPFLAGS
Pass IMAKE_DEFINE with the above arguments to MAKE_ARGS so that imake spawned from Makefile generated by a previous
imake also inherit the defined CppCmd CcCmd and CplusplusCmd.
Make imake use devel/tradcpp all the time, so that when buidling with clang we do not depend on gcc's cpp.
Make imake respect CC and CXX
Make imake respect USE_GCC (if set imake will use gcc's cpp).

While here:
- Remove a couple of indefinite articles from comments
- Trim headers
- Fix a couple of ports to build with clang or use: USE_GCC=any
- Fix a now useless redefinition of the extraction chain
- Fix a typo in japanese/Wnn7-lib bundled imake template definitions
- Fix some XMKMF execution with no env specified
- Use options helper in x11/xautolock to simplify the port
2013-06-28 11:51:05 +00:00
Martin Wilke
19042987c7 - Don't remove directories not created by this port
- Trim header

Reported by:	pkg (DEVELOPER_MODE)
2013-06-19 14:47:47 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Hiroki Sato
f70fec0a09 Use USE_IMAKE instead of BUILD_DEPENDS. 2012-06-12 17:58:28 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
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.
2012-01-14 08:57:23 +00:00
Martin Wilke
65e190c0f0 - Get Rid MD5 support
With hat:	portmgr (myself)
2011-03-18 17:59:50 +00:00
Hiroki Sato
3e50ae5111 Fix ownership/permissions of files in ${DATADIR}/dic when
this port is added by pkg_add(1).

Spotted by:	WATANABE Kazuhiro
2010-04-12 04:14:10 +00:00
Hiroki Sato
183ab15c6b Fix an ownership/permission issue of ${PREFIX}/share/canna/dic. 2010-04-11 12:08:46 +00:00
Pav Lucistnik
470b0ae938 - Mark BROKEN: changes ownership and permissions on /usr/local/share/canna/dic
Reported by:	pointyhat
2010-03-16 18:00:57 +00:00
Hiroki Sato
bbb8df33e5 Move conversion tables from canna-server to canna-lib.
Submitted by:	nork (long time ago)
Feature safe:	yes
2010-03-02 14:55:06 +00:00
Hiroki Sato
3aeee132ad Remove implicit dependency on x11/xorg-libraries.
Spotted by:	motoyuki
2009-01-26 13:58:24 +00:00
Jimmy Olgeni
086a644dc2 Fix typo. 2009-01-22 21:35:07 +00:00
Hiroki Sato
aa83bae006 - Use mode 0755 for unix domain socket directory to prevent write
access from users other than the owner (bin).

- Remove /tmp/.iroha_unix before cannaserver starts and after it
  is killed.
2008-11-08 08:49:01 +00:00
Hiroki Sato
1f997d2be8 - Separate the server part and the library part from japanese/Canna, and
remove japanese/Canna.
- Take maintainership.
2008-10-26 19:48:19 +00:00
Norikatsu Shigemura
4912d6624e Fix crash issue of cannaserver.
Obtained from:	NetBSD, Canna CVS Repositry
Approved by:	portmgr (marcus)
Committed at:	the 27th EBUG Meeting at Bandai, Niigata, Japan (Powered by Daisuke)
Committed with:	EBUG Members (hre, karl, daigu, high, mikio, kaw and nork@)
2008-09-20 09:59:24 +00:00
Norikatsu Shigemura
bd76aa52e7 Fix NULL pointer reference issue of addwords/cannakill/catdic/chmoddic/
cpdic/delwords/lsdic/mkdic/mvdic/rmdic commands.

Approved by:	portmgr (pav)
2008-09-15 15:32:51 +00:00
Pav Lucistnik
fa38ed02cc - Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV 2008-07-25 12:24:09 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Cheng-Lung Sung
e8390e6e3c - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include irc/ japanese/ java/ lang/ mail/ math/ maintained by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-15 00:29:13 +00:00
Vasil Dimov
f5387617c9 Remove whitespace from line endings in pkg-plist files.
Those spaces used to hinder searching for the corresponding files
with portsearch -f '/FILENAME$' for obvious reasons.
Although currently portsearch removes those spaces itself remove
them anyway.

Inspired by:	ports/94078
Approved by:	portmgr (during freeze: krion, then kris advised to wait; at present: erwin)
2006-05-12 14:28:19 +00:00
Mark Linimon
fceb9ae5ab Reset max@FreeBSD.org due to no response to email about status.
Hat:	portmgr
2006-04-15 00:28:25 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Edwin Groothuis
c92c635b24 SHA256ify
Approved by: krion@
2006-01-22 12:42:24 +00:00
Edwin Groothuis
0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00
Masafumi Max NAKANE
7e99b1bd22 Upgrade to 3.7p3. 2004-07-12 06:05:41 +00:00
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Masafumi Max NAKANE
814c4bc578 Typo fix.
Pointed-out by:	ume
2004-02-17 02:30:02 +00:00
Masafumi Max NAKANE
d1c4fdec2f RcNG'ize the startup script (and bump the port revision).
Submitted by:	ume
2004-02-16 06:37:22 +00:00
Masafumi Max NAKANE
50e496c6be Update to 3.7p1 2004-02-13 08:13:00 +00:00
Joe Marcus Clarke
adae38bc05 Reverse the MANLANG arguments to workaround a bug in make(1). This is
happening in anticipation of the upcoming bsd.*.mk changes.
2004-01-19 21:59:01 +00:00
Masafumi Max NAKANE
9393ef055c Add chmoddic.1 to MAN1 which was missing in previous commit,
and bump the PORTREVISION.
2003-10-15 05:26:38 +00:00
Munechika SUMIKAWA
fe87a955cd Upgrade to 3.6p4.
PR:		ports/58018
Submitted by:	Hideyuki KURASHINA <rushani@FreeBSD.org>
2003-10-14 18:56:16 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Kris Kennaway
cbedd93e8e Add missing files and directories 2003-02-22 04:15:38 +00:00
Masafumi Max NAKANE
6706303a87 Upgrade to 3.6p3. 2003-02-06 08:03:38 +00:00
Masafumi Max NAKANE
9454485a8c Ah, my slippery fingers, portversion should be 3.6p1 instead.
Pointed out by:	knu
2002-12-02 03:49:09 +00:00
Masafumi Max NAKANE
9357df90df Upgrade to 3.6p1, which contains security fixes.
Approved by:	kris
Submitted by:	KANOU Hiroki <kanou@mil.allnet.ne.jp>
Review and mod by:	max
2002-12-02 03:30:48 +00:00
Masafumi Max NAKANE
c363efe2a4 Correctly handle wchar.
Submitted by:	AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-11-20 05:35:14 +00:00
Masafumi Max NAKANE
a67b340bea Cannaserver now has the -u option which allow you to specify who should
own the server process.  So instead of patching up the source to
drop the root privilege, just use this.
Suggested by:	AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-11-14 02:25:20 +00:00
Masafumi Max NAKANE
c62e5cfc9f The LinkFileList hack, introduced in Rev 1.7.
Pointed-out by:	AIDA Shinra <aida-s@jcom.home.ne.jp>
2002-11-14 00:00:55 +00:00
Masafumi Max NAKANE
32b646a55e Ooops, forgot to 'cvs rm' this when upgrading to 3.6.
Pointed out by:	KANOU Hiroki <kanou@mil.allnet.ne.jp>
2002-11-12 05:01:49 +00:00
Masafumi Max NAKANE
82fb117ba8 Upgrade to 3.6. 2002-11-11 23:53:57 +00:00
Kris Kennaway
d3b6a0557b Fix build on -current
Submitted by:	tjr
2002-10-26 03:10:46 +00:00
Masafumi Max NAKANE
96dff61bf0 Add back files/patch-af which should never be removed. This patch takes care of two remote buffer overflows in server/misc.c. This patch was accidentally removed when the port was upgraded.
Since this fixes a security problem, bump the port revision.

Pointed-Out by:	TOGAWA Satoshi <toga@puyo.org>
2002-08-08 04:53:19 +00:00
Masafumi Max NAKANE
4c3687bf14 Oops, I meant to bump the PORTREVISION with the previous commit since
that commit corrected possible problem with pkg_add'ing this port.
2002-05-16 07:52:33 +00:00
Masafumi Max NAKANE
60db302613 - Canna doesn't use /var/run any longer.
- Improve the startup script.
- Modify the pkg-plist so that pkg_delete won't complain even when
  user dictionaries are installed.
- Use correct syntax for chown (bin.bin -> bin:bin)
Credits:	nyan@jp.FreeBSD.org
		nork@FreeBSD.org
		takachan@running-dog.net
		knu@iDaemons.org
2002-05-16 07:49:43 +00:00
Akinori MUSHA
a2330b1ecd - Make this compile with imake 4.2.0, in which the LinkFileList
definition has been changed somehow.  Add a patch to override it with
  the previous definition.

  Addressed by:	Marc Espie <espie@openbsd.org>

- Add a patch to fix bzero()/bcopy() namespace collision. (by me)

- Change one of the master sites.

  Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>

Discussed on:	ports-jp@jp.FreeBSD.org
On behalf of:	max (MAINTAINER)
2002-04-02 03:45:20 +00:00
Masafumi Max NAKANE
951dc0d2f4 Remove the dependency to imake since this is now taken care of
in bsd.port.mk.
2002-02-16 05:00:25 +00:00
Masafumi Max NAKANE
aea39eb662 Uncomment BUILD_DEPENDS to xmkmf which was accidentally commented out in 1.44. 2002-01-20 21:32:40 +00:00