View | Details | Raw Unified | Return to bug 40493
Collapse All | Expand All

(-)devel/xwpe/Makefile (-11 / +12 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	xwpe
9
PORTNAME=	xwpe
10
PORTVERSION=	1.5.22a
10
PORTVERSION=	1.5.29a
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	${MASTER_SITE_SUNSITE} \
12
MASTER_SITES=	${MASTER_SITE_SUNSITE} \
13
		http://www.identicalsoftware.com/xwpe/ \
13
		http://www.identicalsoftware.com/xwpe/ \
Lines 16-37 Link Here
16
16
17
MAINTAINER=	ports@FreeBSD.org
17
MAINTAINER=	ports@FreeBSD.org
18
18
19
# LD_LIBRARY_PATH is to deal with a braindead libX11.a search in configure
20
# (once again author assumes too many Linux'isms)
21
# it is not exptected to be set at runtime.
22
MAKE_ENV=	LD_LIBRARY_PATH="${X11BASE}/lib"
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV=	LD_LIBRARY_PATH="${X11BASE}/lib"
25
CONFIGURE_ARGS=	--libdir=${PREFIX}/share
26
USE_XLIB=	yes
19
USE_XLIB=	yes
20
USE_REINPLACE=	yes
27
USE_GMAKE=	yes
21
USE_GMAKE=	yes
28
ALL_TARGET=
22
GNU_CONFIGURE=	yes
23
CONFIGURE_ENV=	
24
CONFIGURE_ARGS=	--libdir=${PREFIX}/share
25
ALL_TARGET=	# none
26
29
MAN1=		xwpe.1
27
MAN1=		xwpe.1
30
MLINKS=		xwpe.1 xwe.1 \
28
MLINKS=		xwpe.1 xwe.1 \
31
		xwpe.1 wpe.1 \
29
		xwpe.1 wpe.1 \
32
		xwpe.1 we.1
30
		xwpe.1 we.1
33
31
34
pre-configure:
32
post-patch:
35
	@${PERL} -pi.in -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/*.c
33
.for file in we_prog.c we_fl_unix.c
34
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
35
		 s|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/${file}
36
.endfor
36
37
37
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)devel/xwpe/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (xwpe-1.5.22a.tar.gz) = 6f89fe3da57ac67fdff6297f078630b6
1
MD5 (xwpe-1.5.29a.tar.gz) = fa529db0a3f1cc5ac35ff0cc7bb3f588
(-)devel/xwpe/files/patch-09 (-15 / +14 lines)
Lines 1-5 Link Here
1
--- we_fl_unix.c.orig	Mon Dec 27 08:11:38 1999
1
--- we_fl_unix.c.orig	Wed Jun  5 11:53:50 2002
2
+++ we_fl_unix.c	Sat Feb 26 05:55:53 2000
2
+++ we_fl_unix.c	Fri Jul 12 02:37:37 2002
3
@@ -13,6 +13,10 @@
3
@@ -13,6 +13,10 @@
4
 #include <sys/stat.h>
4
 #include <sys/stat.h>
5
 #include <errno.h>
5
 #include <errno.h>
Lines 10-28 Link Here
10
+
10
+
11
 struct dirfile *e_make_win_list(FENSTER * f);
11
 struct dirfile *e_make_win_list(FENSTER * f);
12
 extern char    *e_tmp_dir;
12
 extern char    *e_tmp_dir;
13
 extern int      (*e_u_system) (char *exe);
13
 
14
@@ -3546,7 +3550,13 @@
14
@@ -3532,7 +3536,12 @@
15
   if(getenv("MANPATH"))
15
  }
16
     strcpy(manpath, getenv("MANPATH"));
16
  if ((!manpath) || (manpath[0] == '\0'))
17
   if(manpath[0] == '\0')
17
  {
18
-    strcpy(manpath, "/usr/man:/usr/local/man");
18
-  manpath = strdup("/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man");
19
+    strcpy(manpath,
19
+  manpath = strdup(
20
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
20
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
21
+		 "/usr/share/man:%%LOCALBASE%%/man");
21
+		"/usr/share/man:%%X11BASE%%/man:%%LOCALBASE%%/man");
22
+#else
22
+#else
23
+		 "/usr/man:/usr/local/man");
23
+		"/usr/man:%%X11BASE%%/man:%%LOCALBASE%%/man");
24
+#endif
24
+#endif
25
+
25
  }
26
   while(manpath[i])
26
  /* Allocate the maximum possible rather than continually realloc. */
27
   {
27
  sustr = malloc(strlen(manpath) + 10);
28
     for(n = 0; (subpath[n] = manpath[i]) && manpath[i] != PTHD; i++, n++);

Return to bug 40493