summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-05-28 03:45:51 +0000
committerSteve Price <steve@FreeBSD.org>2000-05-28 03:45:51 +0000
commitba23c3b624356d6e437f91ac8f204f64f8ee5969 (patch)
treecbafc1e2c5703ba9f7c94c4f23084264555dc145
parentMostly docs changes with the addition of some selection filter code that (diff)
Make sure we look in the right place for pgm.h.
-rw-r--r--graphics/urt/Makefile2
-rw-r--r--graphics/urt/files/patch-aa10
2 files changed, 5 insertions, 7 deletions
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index 63c6e65df14c..dfc524a6a1ca 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -21,8 +21,6 @@ MAINTAINER= giffunip@asme.org
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff
BUILD_DEPENDS= ${LOCALBASE}/lib/libpbm.a:${PORTSDIR}/graphics/netpbm
-BROKEN= "Looks for pgm.h in the wrong place"
-
EXTRACT_ONLY= urt-3.1b.tar.Z
USE_XLIB= yes
diff --git a/graphics/urt/files/patch-aa b/graphics/urt/files/patch-aa
index cf7370a90400..cf236d8a4a9f 100644
--- a/graphics/urt/files/patch-aa
+++ b/graphics/urt/files/patch-aa
@@ -139,8 +139,8 @@
-INCPBMPLUS = -I$(PBMDIR) -I$(PBMDIR)/ppm -I$(PBMDIR)/pgm -I$(PBMDIR)/pbm
-LIBPBMPLUS = $(PBMDIR)/ppm/libppm.a $(PBMDIR)/pgm/libpgm.a \
- $(PBMDIR)/pbm/libpbm.a
-+INCPBMPLUS = -I${X11BASE}/include
-+LIBPBMPLUS = -L${X11BASE}/lib -lppm -lpgm -lpbm
++INCPBMPLUS = -I${LOCALBASE}/include
++LIBPBMPLUS = -L${LOCALBASE}/lib -lppm -lpgm -lpbm
#endif
#ifdef SUNRASTER|SUNTOOLS|TAAC1
@@ -152,10 +152,10 @@
-INCTIFF = -I$(TIFFDIR)
-LIBTIFF = $(TIFFDIR)/libtiff.a
+##defpath TIFFDIR
-+INCTIFF = -I${PREFIX}/include
-+LIBTIFF = -L${PREFIX}/lib -ltiff
++INCTIFF = -I${LOCALBASE}/include
++LIBTIFF = -L${LOCALBASE}/lib -ltiff
+.if ${PORTOBJFORMAT} == "elf"
-+LIBTIFF +=-Wl,-rpath,${PREFIX}/lib
++LIBTIFF +=-Wl,-rpath,${LOCALBASE}/lib
+.endif
#endif