pkgsrc/news/knews/patches/patch-ae
1998-04-22 23:42:19 +00:00

26 lines
520 B
Text

--- knews.tmpl.orig Fri Jan 9 18:16:12 1998
+++ knews.tmpl Thu Apr 23 01:07:29 1998
@@ -23,11 +23,10 @@
*/
/* gcc on decent systems */
-#if 0
+EXTRA_INCLUDES = -I${LOCALBASE}/include
CC = gcc
CCOPTIONS = -ansi -pedantic -Wall
CDEBUGFLAGS = -O2
-#endif
/* gcc on SunOS 4.1.x (and maybe other non-decent systems) */
#if 0
@@ -74,8 +73,8 @@
* be changed to -lz.
*/
-JPEG_LIB = -ljpeg
-PNG_LIB = -lpng -lgz -lm
+JPEG_LIB = -L${LOCALBASE}/lib -ljpeg
+PNG_LIB = -L${LOCALBASE}/lib -lpng -lz -lm
/*