mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
- unbreak for FreeBSD 7.x
Approved by: maintainer (implicit)
This commit is contained in:
parent
1e5251d7af
commit
292e6f217d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211091
@ -55,6 +55,8 @@ post-patch:
|
||||
${WRKSRC}/nxdesktop/Makefile
|
||||
@${REINPLACE_CMD} -e "s|/usr/local/|${PREFIX}/|" \
|
||||
${WRKSRC}/nxviewer/nxviewer/Imakefile
|
||||
@${REINPLACE_CMD} -e "s|objformat=.*|objformat=elf|" \
|
||||
${WRKSRC}/nxesd/configure
|
||||
|
||||
do-configure:
|
||||
.if defined(TEMPLATES) && exists(${TEMPLATES}/config.guess) && exists(${TEMPLATES}/config.sub)
|
||||
|
15
net/nxserver/files/patch-nx-X11-config-cf-FreeBSD.cf
Normal file
15
net/nxserver/files/patch-nx-X11-config-cf-FreeBSD.cf
Normal file
@ -0,0 +1,15 @@
|
||||
--- nx-X11/config/cf/FreeBSD.cf.orig 2006-06-19 16:18:55.000000000 +0200
|
||||
+++ nx-X11/config/cf/FreeBSD.cf 2008-04-11 21:21:29.000000000 +0200
|
||||
@@ -105,11 +105,7 @@
|
||||
# define BuildThreadStubLibrary YES
|
||||
# define NeedUIThrStubs YES
|
||||
# endif
|
||||
-# if (OSRelVersion >= 500016)
|
||||
-# define ThreadsLibraries -lc_r
|
||||
-# else
|
||||
-# define ThreadsLibraries -pthread
|
||||
-# endif
|
||||
+# define ThreadsLibraries -pthread
|
||||
# define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB)
|
||||
# define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB)
|
||||
# endif
|
20
net/nxserver/files/patch-nx-X11-config-imake-imake.c
Normal file
20
net/nxserver/files/patch-nx-X11-config-imake-imake.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- nx-X11/config/imake/imake.c.orig 2002-12-16 23:48:28.000000000 +0100
|
||||
+++ nx-X11/config/imake/imake.c 2008-04-11 21:05:32.000000000 +0200
|
||||
@@ -1146,6 +1146,7 @@
|
||||
static void
|
||||
get_binary_format(FILE *inFile)
|
||||
{
|
||||
+#if 0
|
||||
int mib[2];
|
||||
size_t len;
|
||||
int osrel = 0;
|
||||
@@ -1173,6 +1174,9 @@
|
||||
if (objprog)
|
||||
pclose(objprog);
|
||||
|
||||
+#else
|
||||
+ int iself = 1;
|
||||
+#endif
|
||||
fprintf(inFile, "#define DefaultToElfFormat %s\n", iself ? "YES" : "NO");
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user