aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-07-08 07:51:04 +0800
committerarved <arved@FreeBSD.org>2003-07-08 07:51:04 +0800
commite63e0f79f10945fc7326e9b3843d6e7333d31500 (patch)
tree9b063fe141e2dcd0e6f0da165d81b48929adeb31
parenta13c7597987ff6d0068b012dd118b662bd88610f (diff)
downloadfreebsd-ports-gnome-e63e0f79f10945fc7326e9b3843d6e7333d31500.tar.gz
freebsd-ports-gnome-e63e0f79f10945fc7326e9b3843d6e7333d31500.tar.zst
freebsd-ports-gnome-e63e0f79f10945fc7326e9b3843d6e7333d31500.zip
-Respect CFLAGS
-Add -fPIC
-rw-r--r--audio/xmms-mailnotify/files/patch-Makefile.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/xmms-mailnotify/files/patch-Makefile.in b/audio/xmms-mailnotify/files/patch-Makefile.in
new file mode 100644
index 000000000000..95875bdb558d
--- /dev/null
+++ b/audio/xmms-mailnotify/files/patch-Makefile.in
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Sat Feb 2 23:47:13 2002
++++ Makefile.in Tue Jul 8 01:42:36 2003
+@@ -3,7 +3,7 @@
+ CC = @CC@
+ INSTALL = @INSTALL@
+ LIBS = @LIBS@
+-CFLAGS = -O -Wall @CFLAGS@ @DEFS@ -DVERSION=\"@VERSION@\"
++CFLAGS+= -fPIC -Wall @CFLAGS@ @DEFS@ -DVERSION=\"@VERSION@\"
+ LDFLAGS = @LDFLAGS@ $(LIBS) -shared
+ PREFIX = @prefix@
+ INSTALLPATH = @libdir@
+@@ -32,7 +32,7 @@
+ $(INSTALL) alert.wav $(INSTALLPATH)
+
+ mailnotify: $(OBJS)
+- $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS)
++ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LDFLAGS)
+
+ mailnotify.o: mailnotify.c
+