Permalink
Browse files

Add support for new style pkgsrc repo URL (for sm-rebuild-pkgsrc)

  • Loading branch information...
1 parent 606aeab commit a7f1166c834cbf258647bb6053bd9fb73779db05 @mamash mamash committed Mar 8, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 smtools/Makefile
View
@@ -18,7 +18,7 @@ NO_CHECKSUM= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/smtools
-VERSION= 20130305
+VERSION= 20130308
.include "../../mk/bsd.prefs.mk"
@@ -36,7 +36,12 @@ PKGIN_HELPERS= apt-get apt-cache pkg port rpm yum
SUNOS_FLAVOR?= joyent
.if ${SUNOS_FLAVOR} == "joyent"
+. if defined(CURRENT_PBULK_CONF)
+PLATFORM= packages/SmartOS
+PKGRELEASE= ${CURRENT_PBULK_CONF:C/-.*//}
+. else
PLATFORM= sdc6
+. endif
.else
PLATFORM= sdc5
.endif

0 comments on commit a7f1166

Please sign in to comment.