Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2013 02:54:07 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/181068: editors/asedit: Support CFLAGS properly
Message-ID:  <20130806025407.60f3d015fa6dc47e4906c1bb@yahoo.com>
Resent-Message-ID: <201308051810.r75IA49X020225@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181068
>Category:       ports
>Synopsis:       editors/asedit: Support CFLAGS properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 05 18:10:04 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Support CFLAGS properly
- Support PLIST_FILES

Remove file:
files/patch-aa
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/editors/asedit/Makefile editors/asedit/Makefile
--- /usr/ports/editors/asedit/Makefile	2013-07-10 17:45:35.000000000 +0900
+++ editors/asedit/Makefile	2013-08-06 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@FreeBSD.org
@@ -17,5 +16,17 @@
 XMKMF=		xmkmf
 
 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
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/^XMLIB/s|-lPW|| ; \
+		 /^DEFINES/s|-O ||' ${WRKSRC}/Imakefile
 
 .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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130806025407.60f3d015fa6dc47e4906c1bb>