1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/lang/scriba/files/patch-make_gcc.jim
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

24 lines
831 B
Plaintext

--- make_gcc.jim.orig Tue Mar 1 22:15:45 2005
+++ make_gcc.jim Tue Mar 1 22:18:31 2005
@@ -15,7 +15,7 @@
-I where the include directories are
-L where the libraries are
}
-{#define cc=gcc -w}
+{#define cc=cc -w %%CFLAGS%% -L%%LOCALBASE%%/lib -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/libxml2 -L%%LOCALBASE%%/lib/mysql }
{#define CcOptOutput/X=-o X}
{#define CcOptInput/X=X}
{#define CcOptCompile=-c}
@@ -26,9 +26,9 @@
{#define LibOptOutput/X=-r X}
{#define LibOptInput/X=X}
-{#define ld=ld -shared -Bstatic}
+{#define ld=ld %%LDFLAGS%% -shared -Bstatic -L%%LOCALBASE%%/lib -L%%LOCALBASE%%/lib/mysql }
{#define LdOptOutput/X=-o X}
{#define LdOptInput/X=X}
{@comment the standard libraries that we need}
-{#define StandardLibraries=-lc -lm -ldl -lpthread}
+{#define StandardLibraries=-lc -lm %%PTHREAD_LIBS%%}