summaryrefslogtreecommitdiffstats
path: root/sysutils/xcdroast/files
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-08-21 19:50:01 +0000
committeralex <alex@FreeBSD.org>2001-08-21 19:50:01 +0000
commitb3f8207bc171f95d7c0ce51d4171c0051859cd16 (patch)
tree7fc2e8168ec8f3267b9a39fa36b724f830e278e3 /sysutils/xcdroast/files
parented01dc74c0f7b76a4fcb510a41f22fd168e5ecdf (diff)
downloadFreeBSD-ports-b3f8207bc171f95d7c0ce51d4171c0051859cd16.zip
FreeBSD-ports-b3f8207bc171f95d7c0ce51d4171c0051859cd16.tar.gz
More fixes:
- Don't hardcode "gtk12-config", but use GTK_CONFIG and IMLIB_CONFIG vars. - patch improvement - plist fixes - remove added group cdwrite on deinstall - chown root:cdwrite various utilities used by xcdroast, such as cdrecord, and set them chmod 4710. I don't know if I like this. Opinions (Security Officer?)?
Diffstat (limited to 'sysutils/xcdroast/files')
-rw-r--r--sysutils/xcdroast/files/patch-Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/sysutils/xcdroast/files/patch-Makefile b/sysutils/xcdroast/files/patch-Makefile
index 8b745c9..7356c3b 100644
--- a/sysutils/xcdroast/files/patch-Makefile
+++ b/sysutils/xcdroast/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig Tue Jul 17 23:46:26 2001
-+++ Makefile Sat Aug 18 20:15:52 2001
-@@ -6,7 +6,7 @@
++++ Makefile Tue Aug 21 13:07:40 2001
+@@ -6,13 +6,13 @@
# Installation prefix directory:
#PREFIX=/usr
@@ -9,17 +9,25 @@
PRE_LIBDIR=$(PREFIX)/lib/xcdroast-0.98
# put here the prefix where you want xcdroast to look for
+ # cdrecord/mkisofs/readcd/cdda2wav.
+ # e.g. /usr
+-CDRTOOLS_PREFIX=$(PREFIX)
++CDRTOOLS_PREFIX=%%LOCALBASE%%
+
+ # for linux
+ INSTALL=/usr/bin/install -c
@@ -23,10 +23,10 @@
#---
-CFLAGS=-Wall `gtk-config --cflags` `imlib-config --cflags` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\""
-+CFLAGS=-Wall `gtk12-config --cflags` `imlib-config --cflags` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\""
- CFLAGS2=-Wall `glib-config --cflags --libs` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\""
+-CFLAGS2=-Wall `glib-config --cflags --libs` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\""
-LIBS=`gtk-config --libs` `imlib-config --libs` -lgdk_imlib
-TOOLLIBS=`gtk-config --libs`
-+LIBS=`gtk12-config --libs` `imlib-config --libs` -lgdk_imlib
-+TOOLLIBS=`gtk12-config --libs`
++CFLAGS=-Wall `${GTK_CONFIG} --cflags` `${IMLIB_CONFIG} --cflags` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\""
++CFLAGS2=-Wall `${GTK_CONFIG} --cflags --libs` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\""
++LIBS=`${GTK_CONFIG} --libs` `${IMLIB_CONFIG} --libs` -lgdk_imlib
++TOOLLIBS=`${GTK_CONFIG} --libs`
CC=gcc
OBJ = main.o language.o init.o tools.o xtools.o menus.o setup.o io.o duplicate.o wav_frontend.o wav_id.o create.o
OpenPOWER on IntegriCloud