freebsd-ports/graphics/xpaint/files/patch-aa
FUJISHIMA Satsuki 25c04bbbcb fix usage of mkstemp().
PR:		25616
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2001-03-08 19:39:07 +00:00

22 lines
804 B
Plaintext

--- Local.config.orig Sun Sep 3 07:02:09 2000
+++ Local.config Fri Mar 9 03:26:06 2001
@@ -141,10 +141,12 @@
#endif
#if defined(FreeBSDArchitecture)
-ARCH_DEFINES = -DHAVE_PARAM_H
-TIFF_INCLUDE = -I/usr/local/include/tiff34
-TIFF_LIB = -L/usr/local/lib -ltiff34
-JPEG_INCLUDE = -I/usr/local/include
-JPEG_LIB = -L/usr/local/lib -ljpeg
-XPM_INCLUDE = -I/usr/X11R6/include/X11
+ARCH_DEFINES = -DHAVE_PARAM_H -DHAVE_MKSTEMP
+TIFF_INCLUDE = -I${LOCALBASE}/include
+TIFF_LIB = -L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib -ltiff
+JPEG_INCLUDE = -I${LOCALBASE}/include
+JPEG_LIB = -L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib -ljpeg
+PNG_INCLUDE = -I${LOCALBASE}/include
+PNG_LIB = -L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib -lpng -lz
+XPM_INCLUDE = -I$(INCDIR)/X11
#endif