ports/181068: editors/asedit: Support CFLAGS properly

KATO Tsuguru tkato432 at yahoo.com
Thu Oct 31 19:40:15 UTC 2013


The following reply was made to PR ports/181068; it has been noted by GNATS.

From: KATO Tsuguru <tkato432 at yahoo.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/181068: editors/asedit: Support CFLAGS properly
Date: Fri, 1 Nov 2013 04:26:04 +0900

 This is a multi-part message in MIME format.
 
 --Multipart=_Fri__1_Nov_2013_04_26_04_+0900_BdVcgFyq.o5gLlnm
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Remake of the patch against current tree.
 
 --Multipart=_Fri__1_Nov_2013_04_26_04_+0900_BdVcgFyq.o5gLlnm
 Content-Type: text/x-diff;
  name="editors_asedit.diff"
 Content-Disposition: attachment;
  filename="editors_asedit.diff"
 Content-Transfer-Encoding: 7bit
 
 diff -urN /usr/ports/editors/asedit/Makefile editors/asedit/Makefile
 --- /usr/ports/editors/asedit/Makefile	2013-09-22 01:14:40.000000000 +0900
 +++ editors/asedit/Makefile	2013-11-01 00:00:00.000000000 +0900
 @@ -3,10 +3,9 @@
  
  PORTNAME=	asedit
  PORTVERSION=	1.3.2
 -PORTREVISION=	4
 +PORTREVISION=	5
  CATEGORIES=	editors
 -MASTER_SITES=	${MASTER_SITE_XCONTRIB}
 -MASTER_SITE_SUBDIR=	editors
 +MASTER_SITES=	XCONTRIB/editors
  EXTRACT_SUFX=	.tar.Z
  
  MAINTAINER=	ports at FreeBSD.org
 @@ -15,7 +14,18 @@
  USES=		imake:notall motif
  USE_XORG=	ice sm x11 xext xmu xp xt
  
 -MAN1=		asedit.1
 +PLIST_FILES=	bin/asedit \
 +		lib/X11/app-defaults/Asedit \
 +		lib/X11/app-defaults/Asedit-sgi \
 +		lib/X11/app-defaults/Asedit_em \
 +		lib/X11/app-defaults/Asedit_em-sgi \
 +		lib/X11/asedit.hlp \
 +		lib/X11/asedit_em.hlp \
 +		man/man1/asedit.1.gz
 +
 +post-patch:
 +	@${REINPLACE_CMD} -e \
 +		'/^XMLIB/s|-lPW|| ; \
 +		 /^DEFINES/s|-O ||' ${WRKSRC}/Imakefile
  
 -NO_STAGE=	yes
  .include <bsd.port.mk>
 diff -urN /usr/ports/editors/asedit/files/patch-aa editors/asedit/files/patch-aa
 --- /usr/ports/editors/asedit/files/patch-aa	2013-06-21 03:53:42.000000000 +0900
 +++ editors/asedit/files/patch-aa	1970-01-01 09:00:00.000000000 +0900
 @@ -1,19 +0,0 @@
 -*** Imakefile.orig	Sun Jul 28 21:43:57 1996
 ---- Imakefile	Sun Jul 28 21:44:31 1996
 -***************
 -*** 29,35 ****
 -  
 -  LOCAL_X_LIBDIR =
 -  
 -! XMLIB    = -lXm -lPW
 -  
 -  XCOMM - HP PW setup:  		XMLIB = -lXm -lc -lPW
 -  XCOMM - SUN setup:    		XMLIB = -lXm
 ---- 29,35 ----
 -  
 -  LOCAL_X_LIBDIR =
 -  
 -! XMLIB    = ${MOTIFLIB}
 -  
 -  XCOMM - HP PW setup:  		XMLIB = -lXm -lc -lPW
 -  XCOMM - SUN setup:    		XMLIB = -lXm
 diff -urN /usr/ports/editors/asedit/pkg-plist editors/asedit/pkg-plist
 --- /usr/ports/editors/asedit/pkg-plist	2013-06-21 03:53:42.000000000 +0900
 +++ editors/asedit/pkg-plist	1970-01-01 09:00:00.000000000 +0900
 @@ -1,7 +0,0 @@
 -bin/asedit
 -lib/X11/app-defaults/Asedit
 -lib/X11/app-defaults/Asedit-sgi
 -lib/X11/app-defaults/Asedit_em
 -lib/X11/app-defaults/Asedit_em-sgi
 -lib/X11/asedit.hlp
 -lib/X11/asedit_em.hlp
 
 --Multipart=_Fri__1_Nov_2013_04_26_04_+0900_BdVcgFyq.o5gLlnm--


More information about the freebsd-ports-bugs mailing list