diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch) | |
tree | d573ea09b2bf6be67cb497df199932da9e2707c4 /biology/garlic | |
parent | 40049f4af2200d0dcf33596508688623fc75f764 (diff) | |
download | ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip |
Notes
Diffstat (limited to 'biology/garlic')
-rw-r--r-- | biology/garlic/Makefile | 3 | ||||
-rw-r--r-- | biology/garlic/files/patch-Makefile | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/biology/garlic/Makefile b/biology/garlic/Makefile index 497c008bfed8..b3e26548fe0f 100644 --- a/biology/garlic/Makefile +++ b/biology/garlic/Makefile @@ -31,8 +31,7 @@ CFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 .endif post-patch: - @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \ - s|%%LOCALBASE%%|${LOCALBASE}|g ;\ + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ;\ s|%%CC%%|${CC}|g ; \ s|%%CFLAGS%%|${CFLAGS}|g' ${WRKSRC}/Makefile .if !defined(WITH_OPTIMIZED_FLAGS) diff --git a/biology/garlic/files/patch-Makefile b/biology/garlic/files/patch-Makefile index 63eb7c755204..b4d5e99172a9 100644 --- a/biology/garlic/files/patch-Makefile +++ b/biology/garlic/files/patch-Makefile @@ -6,7 +6,7 @@ #CCOPT = -O -CCOPT = -O3 -+CCOPT = %%CFLAGS%% -I%%LOCALBASE%%/include -I%%X11BASE%%/include ++CCOPT = %%CFLAGS%% -I%%LOCALBASE%%/include #CCOPT = -O3 -g3 #CCOPT = -ansi -pedantic -g3 #CCOPT = -ansi -pedantic -O -Wall -Wstrict-prototypes -g3 @@ -14,7 +14,7 @@ HEADERS = defines.h typedefs.h -LIBPATH = -L/usr/X11R6/lib -+LIBPATH = -L%%X11BASE%%/lib ++LIBPATH = -L%%LOCALBASE%%/lib LINKOPT = -lX11 -lm |