diff options
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 |