Files
Rainer Müller 52b36bec7f graphics/xv:
* Claiming maintainership
 * Major update by applying xv jumbo patchset
 * Adds PNG support, closes https://trac.macports.org/ticket/2448.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@35810 d073be05-634f-4543-b044-5fe20cf6d1d6
2008-04-07 01:37:43 +00:00

41 lines
1.1 KiB
Diff

--- Makefile.orig 2008-04-07 03:12:33.000000000 +0200
+++ Makefile 2008-04-07 03:11:15.000000000 +0200
@@ -179,13 +179,13 @@
JP2K = -DDOJP2K
###
#JP2KDIR = ../../jasper
-JP2KDIR = /usr/local/lib
+JP2KDIR = /usr
###
-#JP2KINC = -I$(JP2KDIR)
-JP2KINC = -I/usr/local/include
+JP2KINC = -I$(JP2KDIR)/include
+#JP2KINC = -I/usr/local/include
###
-#JP2KLIB = -L$(JP2KDIR) -ljasper
-JP2KLIB = $(JP2KDIR)/libjasper.a
+JP2KLIB = -L$(JP2KDIR)/lib -ljasper
+#JP2KLIB = $(JP2KDIR)/libjasper.a
###
@@ -207,6 +207,9 @@
#----------Machine-Specific Configurations----------
+### If you are using a MacOS X/darwin system, uncomment the following line
+MCHN = -D__DARWIN__
+
### If you are using a BeOS system, uncomment the following line
#MCHN = -DUSE_GETCWD -I/usr/X11/include -L/usr/X11/lib
###
@@ -279,7 +282,7 @@
# if your machine has the usleep() function, uncomment the following line:
# if it doesn't, or you're not sure, leave this line alone.
-#TIMERS = -DUSLEEP
+TIMERS = -DUSLEEP
# if XV locks up whenever you click on *any* of the buttons, the Timer()