ports/57020: Patch for Xview Makefile on -current. Fixes build
Hubert Bartels
hgb at yuki.opt-sci.arizona.edu
Fri Sep 19 20:00:39 UTC 2003
>Number: 57020
>Category: ports
>Synopsis: Patch for Xview Makefile on -current. Fixes build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 19 13:00:35 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Hubert Bartels
>Release: FreeBSD 4.9-PRERELEASE i386
>Organization:
Optical-Sciences Center, University of Arizona
>Environment:
System: FreeBSD yuki.opt-sci.arizona.edu 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Fri Sep 19 09:50:11 MST 2003 root at yuki.opt-sci.arizona.edu:/usr/src/sys/compile/YUKI i386
System FreeBSD current
>Description:
XView libraries fail to build because recent imake changes now read
embedded '/**/# ' not a comment line to be copied to Makefiles but
as directives. Furthermore, deinstalling Xview fails because it
thinks the libraries are located in /usr/local
>How-To-Repeat:
On current (FreeBSD 5-current with gcc 3.3)
cd /usr/ports/x11-toolkits/xview
make
>Fix:
1.) Change all '/**/#' lines to use the correct 'XCOMM'
2.) Add USE_X_PREFIX for correct uninstalls
So, apply the following changes to /usr/ports/x11-toolkit/xview/Makefile
--- Makefile.orig Wed Sep 17 14:51:24 2003
+++ Makefile Wed Sep 17 14:53:26 2003
@@ -2,7 +2,7 @@
# Date created: 22 November 1994
# Whom: ljo (orig)
#
-# $FreeBSD: ports/x11-toolkits/xview/Makefile,v 1.27 2003/07/30 20:18:51 naddy Exp $
+# $FreeBSD: ports/x11-toolkits/xview/Makefile,v 1.28 2003/09/17 20:18:51 hgb Exp $
#
PORTNAME= xview
@@ -19,6 +19,7 @@
COMMENT= X Window-System-based Visual/Integrated Environment for Workstations
USE_IMAKE= yes
+USE_X_PREFIX = yes
INSTALLS_SHLIB= yes
IMAKEINCLUDE= "-I${X11BASE}/lib/X11/config -I${WRKSRC}/config"
MAKE_ENV+= IMAKEINCLUDE=${IMAKEINCLUDE}
@@ -47,7 +48,8 @@
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
's|#include <sys/types.h>|#include "types.h"|;\
- s|^#endif.*$$|#endif|;s|^#else.*$$|#else|'
+ s|^#endif.*$$|#endif|;s|^#else.*$$|#else|;\
+ s|^/\*\*/#*|XCOMM |'
.endif
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list