summaryrefslogtreecommitdiff
path: root/multimedia/nxtvepg/files/patch-Makefile.bsd
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-10-22 03:06:21 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-10-22 03:06:21 +0000
commitc6c24e03c70afc0a841c8afb26e7928698cdba72 (patch)
treeb0d7799e04608616165cacb7f378bbc2eb3cce00 /multimedia/nxtvepg/files/patch-Makefile.bsd
parentRemove blank line to pacify portlint. (diff)
PR:
Submitted by: maintainer via ports@ list Reviewed by: Approved by: Obtained from: MFC after: Upgrade nxtvepg to 2.6.0, contains new features since last version: o Implemented reminders o Added weekday scale to the right of the programme list o Added new programme list attribute type "weekday color" o Added an expire time filter to the filter menu Some more feature improvements too, please refer to: http://nxtvepg.sourceforge.net/changelog.html
Notes
Notes: svn path=/head/; revision=91861
Diffstat (limited to 'multimedia/nxtvepg/files/patch-Makefile.bsd')
-rw-r--r--multimedia/nxtvepg/files/patch-Makefile.bsd46
1 files changed, 46 insertions, 0 deletions
diff --git a/multimedia/nxtvepg/files/patch-Makefile.bsd b/multimedia/nxtvepg/files/patch-Makefile.bsd
new file mode 100644
index 000000000000..b0226b5535ac
--- /dev/null
+++ b/multimedia/nxtvepg/files/patch-Makefile.bsd
@@ -0,0 +1,46 @@
+--- Makefile.bsd.orig Mon Apr 21 00:10:22 2003
++++ Makefile.bsd Tue Oct 21 15:10:24 2003
+@@ -46,17 +46,20 @@
+ # other settings
+ # On FreeBSD there is only a modified tclsh with a message to launch
+ # tclsh8.3 or tclsh8.4 , so this is hardcoded here
+-TCL_VER = 8.3
++TCL_VER = 8.4
+ LDLIBS = -L$(LOCALBASE)/lib\
+ -L$(X11BASE)/lib\
+- -ltk83 -ltcl83 -lX11 -lXmu -lm
++ -ltk84 -ltcl84 -lX11 -lXmu -lm
+
+ INCS += -I$(LOCALBASE)/include/tcl$(TCL_VER)\
+ -I$(LOCALBASE)/include/tk$(TCL_VER)
+-WANT_THREADS = 1 # uncomment to force process based implementation
+-
+-PTHREAD = -pthread
++WANT_THREADS = 1 # comment out to force process based implementation
+
++ifeq ($(OS), FreeBSD)
++PTHREAD = $(PTHREAD_LIBS)
++else
++PTHREAD = -pthread
++endif
+
+ ### Common part for all UN*X variants ###
+
+@@ -77,7 +80,7 @@
+ endif
+
+ # other settings
+-OPTFLAGS = -O6 -pipe -g
++OPTFLAGS = -O -pipe -g
+
+ # use static libraries for debugging only
+ #LDLIBS += -Ldbglib -static
+@@ -143,7 +146,7 @@
+ $(ECHO) " system db dir: $(SYS_DBDIR)"
+ endif
+ ifdef WANT_THREADS
+- $(ECHO) " Concurrency implementation based on: threads"
++ $(ECHO) " Concurrency implementation based on: threads (using $(PTHREAD))"
+ else
+ $(ECHO) " Concurrency implementation based on: processes"
+ endif