aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/libsmacker/Makefile1
-rw-r--r--multimedia/libsmacker/files/patch-Makefile11
2 files changed, 11 insertions, 1 deletions
diff --git a/multimedia/libsmacker/Makefile b/multimedia/libsmacker/Makefile
index 4163ae43f5f4..8ca3c5af08e0 100644
--- a/multimedia/libsmacker/Makefile
+++ b/multimedia/libsmacker/Makefile
@@ -13,7 +13,6 @@ USE_LDCONFIG= yes
PLIST_FILES= lib/libsmacker.so
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} '/CFLAGS/s|+=|?=|; s|gcc|${CC}|g' \
${WRKSRC}/Makefile
diff --git a/multimedia/libsmacker/files/patch-Makefile b/multimedia/libsmacker/files/patch-Makefile
new file mode 100644
index 000000000000..cb2148e485a3
--- /dev/null
+++ b/multimedia/libsmacker/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2014-06-20 14:07:17.225595274 +0800
++++ Makefile 2014-06-20 14:07:25.329596116 +0800
+@@ -9,7 +9,7 @@ LDFLAGS += -pipe -L.
+ all: libsmacker.so
+
+ install: libsmacker.so
+- cp libsmacker.so ${PREFIX}/lib/libsmacker.so
++ cp libsmacker.so $(DESTDIR)${PREFIX}/lib/libsmacker.so
+
+ uninstall: libsmacker.so
+ rm -f ${PREFIX}/lib/libsmacker.so